12 Device Commands
|
Name
|
Input type
|
Output type
|
Level
|
Description
|
State |
DEV_VOID |
DEV_STATE |
OPERATOR |
This command gets the device state (stored in its device_state data member) and returns it to the caller. |
Status |
DEV_VOID |
CONST_DEV_STRING |
OPERATOR |
This command gets the device status (stored in its device_status data member) and returns it to the caller. |
DevStart |
DEV_STRING |
DEV_VOID |
OPERATOR |
Start the specified server. |
DevStop |
DEV_STRING |
DEV_VOID |
OPERATOR |
Stop the specified server. |
DevStartAll |
DEV_SHORT |
DEV_VOID |
OPERATOR |
Start all device servers controled on the host for the argin level. |
DevStopAll |
DEV_SHORT |
DEV_VOID |
OPERATOR |
Stop all device servers controled on the host for the argin level. |
DevGetRunningServers |
DEV_BOOLEAN |
DEVVAR_STRINGARRAY |
OPERATOR |
Control the running process from property list.
And return the list of the processes which are really running. |
DevGetStopServers |
DEV_BOOLEAN |
DEVVAR_STRINGARRAY |
OPERATOR |
Control the running process from property list.
And return the list of the processes which are not running. |
DevReadLog |
DEV_STRING |
CONST_DEV_STRING |
OPERATOR |
At server startup, its standard error is redirected to a log file.
This command will read this file and return the read string from the file. |
HardKillServer |
DEV_STRING |
DEV_VOID |
OPERATOR |
Hard kill a server (kill -9) |
NotifyDaemonState |
DEV_VOID |
DEV_STATE |
OPERATOR |
Returns the Notify Daemon state. |
UpdateServersInfo |
DEV_VOID |
DEV_VOID |
OPERATOR |
Indicate to the device server than the information about servers to be controlled has been modified.
The device server must read the database to update the servers info list.
If the default case, this command is sent by Database server itself. |