#include <acsServiceController.h>
Inheritance diagram for ServiceController:


Public Member Functions | |
| ServiceController (ACSDaemonContext *icontext, bool iautorestart) | |
| virtual | ~ServiceController () |
| ACSDaemonContext * | getContext () |
| void | restart () |
| bool | start (acsdaemon::DaemonCallback_ptr callback=NULL) throw ((acsdaemonErrType::ServiceAlreadyRunningEx)) |
| void | stop (acsdaemon::DaemonCallback_ptr callback=NULL) throw ((acsdaemonErrType::ServiceNotRunningEx)) |
| acsdaemon::ServiceState | getLastState () |
Protected Member Functions | |
| void | stopping () |
| void | requestComplete (Request *request) |
| virtual bool | setState (acsdaemon::ServiceState istate) |
| virtual ControlledServiceRequest * | createControlledServiceRequest (ACSServiceRequestType itype, acsdaemon::DaemonCallback_ptr callback=NULL)=0 |
| virtual acsdaemon::ServiceState | getActualState ()=0 |
| virtual void | fireAlarm (acsdaemon::ServiceState state)=0 |
Protected Attributes | |
| ACSDaemonContext * | context |
| bool | autorestart |
| ACE_Thread_Mutex * | m_mutex |
| acsdaemon::ServiceState | state |
| bool | active |
| Request * | startreq |
| Request * | stopreq |
|
||||||||||||
|
|
|
|
|
|
||||||||||||
|
Implemented in ImpController, and ACSServiceController.
|
|
|
Implemented in ImpController, and ACSServiceController.
|
|
|
Implemented in ImpController, and ACSServiceController.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented in ACSServiceController.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.8