Inheritance diagram for de::gsi::bel::valueserver::ValueServer:
Public Member Functions | |
abstract void | setOnline (boolean enableFlag) |
abstract boolean | getOnline () |
abstract XferServer | getXferServer () |
abstract Queue_t | findQueue (String filePath) |
abstract Folder_t | findFolder (String filePath) |
abstract Mount_t | findMount (String filePath) |
abstract Folder_t | getRoot () |
abstract File_t | getRootFile () |
abstract File_t | newFile (File_t parentFile, String fileName, String description, int fileMode, Object value, ValueSetListener listener) throws ValueException |
abstract void | setListener (File_t file, ValueSetListener listener) |
abstract File_t | newFolder (File_t parentFile, String folderName, String description, int fileMode, String mive, int major, int minor, ValueSetListener listener) throws ValueException |
abstract File_t | newEventQueue (File_t parentFile, String queueName, String description, int fileMode, String mive, int major, int minor, ValueSetListener listener) throws ValueException |
abstract void | queuePush (File_t queueFile, File_t file) throws ValueException |
abstract File_t | newMount (File_t parentFile, String mountName, String description, int fileMode, String service) throws ValueException |
abstract File_t | newMount (File_t parentFile, String mountName, String description, int fileMode, String host, int port) throws ValueException |
abstract void | addFile (File_t parentFile, File_t file) throws ValueException |
abstract void | addFile (String filePath, File_t file) throws ValueException |
abstract void | rmFile (File_t parentFile, String fileName) throws ValueException |
abstract void | rmFile (String filePath) throws ValueException |
abstract void | setFileValue (File_t file, Object value) throws ValueException |
abstract void | setFileValue (String filePath, Object value) throws ValueException |
abstract void de::gsi::bel::valueserver::ValueServer::addFile | ( | String | filePath, | |
File_t | file | |||
) | throws ValueException [pure virtual] |
Add a file to a parent (must be folder node), a structure change notification will be sent to all subscribers of the parent node
filePath | The path of the parent node the file is added | |
file | The file to add to the parent |
ValueException |
Implemented in de::gsi::bel::valueserver::ValueServerImpl.
abstract void de::gsi::bel::valueserver::ValueServer::addFile | ( | File_t | parentFile, | |
File_t | file | |||
) | throws ValueException [pure virtual] |
Add a file to a parent file (must be folder node), a structure change notification will be sent to all subscribers of the parent node
parentFile | The parent node the file is added | |
file | The file to add to the parent |
ValueException |
Implemented in de::gsi::bel::valueserver::ValueServerImpl.
abstract Folder_t de::gsi::bel::valueserver::ValueServer::findFolder | ( | String | filePath | ) | [pure virtual] |
Find a Folder object by its absolute path
filePath | Path of the folder |
Implemented in de::gsi::bel::valueserver::ValueServerImpl.
abstract Mount_t de::gsi::bel::valueserver::ValueServer::findMount | ( | String | filePath | ) | [pure virtual] |
Find a Mount object by its absolute path
filePath | Path of the mount object |
Implemented in de::gsi::bel::valueserver::ValueServerImpl.
abstract Queue_t de::gsi::bel::valueserver::ValueServer::findQueue | ( | String | filePath | ) | [pure virtual] |
Find a Queue file by its absolute path
filePath | The path of the queue |
Implemented in de::gsi::bel::valueserver::ValueServerImpl.
abstract boolean de::gsi::bel::valueserver::ValueServer::getOnline | ( | ) | [pure virtual] |
Returns Online status of this server
Implemented in de::gsi::bel::valueserver::ValueServerImpl.
abstract Folder_t de::gsi::bel::valueserver::ValueServer::getRoot | ( | ) | [pure virtual] |
Get the root folder of value server
Implemented in de::gsi::bel::valueserver::ValueServerImpl.
abstract File_t de::gsi::bel::valueserver::ValueServer::getRootFile | ( | ) | [pure virtual] |
Get the root file of the value server
Implemented in de::gsi::bel::valueserver::ValueServerImpl.
abstract XferServer de::gsi::bel::valueserver::ValueServer::getXferServer | ( | ) | [pure virtual] |
Retrieves the Xferserver object of the underlying TCP/IP listener
Implemented in de::gsi::bel::valueserver::ValueServerImpl.
abstract File_t de::gsi::bel::valueserver::ValueServer::newEventQueue | ( | File_t | parentFile, | |
String | queueName, | |||
String | description, | |||
int | fileMode, | |||
String | mive, | |||
int | major, | |||
int | minor, | |||
ValueSetListener | listener | |||
) | throws ValueException [pure virtual] |
Create a new event-queue node
parentFile | Parent file node of the new event-queue node | |
queueName | Name of the event-queue node | |
description | Description of the new event-queue file node | |
fileMode | Mode of the new event-queue node | |
mive | The UV Multi-purpose Internet Value Extension type of this event-queue | |
major | The major version number | |
minor | The minor version number | |
listener | The listener for this new event-queue node |
ValueException |
Implemented in de::gsi::bel::valueserver::ValueServerImpl.
abstract File_t de::gsi::bel::valueserver::ValueServer::newFile | ( | File_t | parentFile, | |
String | fileName, | |||
String | description, | |||
int | fileMode, | |||
Object | value, | |||
ValueSetListener | listener | |||
) | throws ValueException [pure virtual] |
Create a new file node in the value tree. To create folder, event-queue or mount node please use the corresponding creation methods.
parentFile | Parent file node of the new file node | |
fileName | Name of the new file node | |
description | Description of the new file node | |
fileMode | Mode of the new file node | |
value | Value of the new file node. The values type may be primitive value or arrays of primitive value (see xvalue.jar) | |
listener | The listeners object valueOnSet method is called when the value is changed externally by UV-clients |
ValueException |
Implemented in de::gsi::bel::valueserver::ValueServerImpl.
abstract File_t de::gsi::bel::valueserver::ValueServer::newFolder | ( | File_t | parentFile, | |
String | folderName, | |||
String | description, | |||
int | fileMode, | |||
String | mive, | |||
int | major, | |||
int | minor, | |||
ValueSetListener | listener | |||
) | throws ValueException [pure virtual] |
Create a folder node.
parentFile | Parent file node of the new folder node | |
folderName | The name of the new folder node | |
description | Description of the new folder node | |
fileMode | Mode of the new folder node | |
mive | The UV Multi-purpose Internet Value Extension type of this folder | |
major | The major version number | |
minor | The minor version number | |
listener | The listener for this new folder node |
ValueException |
Implemented in de::gsi::bel::valueserver::ValueServerImpl.
abstract File_t de::gsi::bel::valueserver::ValueServer::newMount | ( | File_t | parentFile, | |
String | mountName, | |||
String | description, | |||
int | fileMode, | |||
String | host, | |||
int | port | |||
) | throws ValueException [pure virtual] |
Create a new node with mount info of another UV server given as IP adress and port.
parentFile | Parent file of the new mount node | |
mountName | Name of the mount node. | |
description | Description of the mount node | |
fileMode | Mode of the mount node | |
host | TCP/IP host info of the UV-server as IP-adress (or host name) | |
port | TCP/IP port info of UV-server |
ValueException |
Implemented in de::gsi::bel::valueserver::ValueServerImpl.
abstract File_t de::gsi::bel::valueserver::ValueServer::newMount | ( | File_t | parentFile, | |
String | mountName, | |||
String | description, | |||
int | fileMode, | |||
String | service | |||
) | throws ValueException [pure virtual] |
Create a new node with mount info of another UV server given as name.
parentFile | Parent file of the new mount node | |
mountName | Name of the mount node. | |
description | Description of the mount node | |
fileMode | Mode of the mount node | |
service | The UV server as name. |
ValueException |
Implemented in de::gsi::bel::valueserver::ValueServerImpl.
abstract void de::gsi::bel::valueserver::ValueServer::queuePush | ( | File_t | queueFile, | |
File_t | file | |||
) | throws ValueException [pure virtual] |
Push an event (i.e. a file which may be a subtree) to an event-queue, the event (file-structure) will be sent to all subscribers of the event-queue
queueFile | The event-queue node to push an event to. | |
file | The event to push. |
ValueException |
Implemented in de::gsi::bel::valueserver::ValueServerImpl.
abstract void de::gsi::bel::valueserver::ValueServer::rmFile | ( | String | filePath | ) | throws ValueException [pure virtual] |
Remove a file node from the tree
filePath | The absolute path of the node to be removed |
ValueException |
Implemented in de::gsi::bel::valueserver::ValueServerImpl.
abstract void de::gsi::bel::valueserver::ValueServer::rmFile | ( | File_t | parentFile, | |
String | fileName | |||
) | throws ValueException [pure virtual] |
Remove a file from a parent (must be folder node), a structure change notification will be sent to all subscribers of the parent node
parentFile | The parent node of the file which should be removed | |
fileName | The name of the file which should be removed from the parent |
ValueException |
Implemented in de::gsi::bel::valueserver::ValueServerImpl.
abstract void de::gsi::bel::valueserver::ValueServer::setFileValue | ( | String | filePath, | |
Object | value | |||
) | throws ValueException [pure virtual] |
Set a new value of a file node given by name, value changes will be sent to all subscribers of this node
filePath | Absolute path to file node | |
value | The value to be set |
ValueException |
Implemented in de::gsi::bel::valueserver::ValueServerImpl.
abstract void de::gsi::bel::valueserver::ValueServer::setFileValue | ( | File_t | file, | |
Object | value | |||
) | throws ValueException [pure virtual] |
Set a new value of a file node, value changes will be sent to all subscribers of this node
file | Set a new value on file | |
value | The value to be set |
ValueException |
Implemented in de::gsi::bel::valueserver::ValueServerImpl.
abstract void de::gsi::bel::valueserver::ValueServer::setListener | ( | File_t | file, | |
ValueSetListener | listener | |||
) | [pure virtual] |
Set a value listener for a file, only one listener is possible. The listener method valueOnSet is called when the file's value is set by a client request
file | Set listener to file | |
listener | The listener of a file's value |
Implemented in de::gsi::bel::valueserver::ValueServerImpl.
abstract void de::gsi::bel::valueserver::ValueServer::setOnline | ( | boolean | enableFlag | ) | [pure virtual] |
Enable/Disable processing of Client request: if disabled client requests are queued but not processed. This may cause losing requests.
enableFlag | true: enable, false: disable processing of requests |
Implemented in de::gsi::bel::valueserver::ValueServerImpl.