public abstract class AbstractDaemon extends Object implements csbase.server.plugin.service.sgaservice.ISGADaemon
| Modifier and Type | Field and Description |
|---|---|
protected Logger |
logger |
protected Properties |
pluginProperties |
| Constructor and Description |
|---|
AbstractDaemon() |
| Modifier and Type | Method and Description |
|---|---|
void |
control(sgaidl.SGAControlAction action) |
sgaidl.SGACommand |
executeCommand(String commandString,
String commandId,
sgaidl.Pair[] extraParams) |
sgaidl.SGAPath |
getPath(String path) |
sgaidl.SGAPath[] |
getPaths(String root) |
void |
ping() |
void |
setDefaultConfigKeys(String[] keys) |
void |
setDefaultInfoKeys(String[] keys) |
void |
setProperties(Properties properties) |
boolean |
start() |
void |
stop() |
protected Properties pluginProperties
protected Logger logger
public boolean start()
throws csbase.server.plugin.service.sgaservice.SGADaemonException
start in interface csbase.server.plugin.service.sgaservice.ISGADaemoncsbase.server.plugin.service.sgaservice.SGADaemonExceptionpublic void stop()
stop in interface csbase.server.plugin.service.sgaservice.ISGADaemonpublic void setProperties(Properties properties)
setProperties in interface csbase.server.plugin.service.sgaservice.ISGADaemonpublic sgaidl.SGAPath getPath(String path) throws sgaidl.InvalidPathException, sgaidl.PathNotFoundException
getPath in interface sgaidl.SGADaemonOperationssgaidl.InvalidPathExceptionsgaidl.PathNotFoundExceptionpublic sgaidl.SGAPath[] getPaths(String root) throws sgaidl.InvalidPathException, sgaidl.PathNotFoundException
getPaths in interface sgaidl.SGADaemonOperationssgaidl.InvalidPathExceptionsgaidl.PathNotFoundExceptionpublic sgaidl.SGACommand executeCommand(String commandString, String commandId, sgaidl.Pair[] extraParams) throws sgaidl.SystemException, sgaidl.MissingParameterException
executeCommand in interface sgaidl.SGADaemonOperationssgaidl.SystemExceptionsgaidl.MissingParameterExceptionpublic void control(sgaidl.SGAControlAction action)
control in interface sgaidl.SGADaemonOperationspublic void setDefaultInfoKeys(String[] keys)
setDefaultInfoKeys in interface sgaidl.SGADaemonOperationspublic void setDefaultConfigKeys(String[] keys)
setDefaultConfigKeys in interface sgaidl.SGADaemonOperationspublic void ping()
ping in interface sgaidl.SGADaemonOperationsCopyright © 2017. All rights reserved.