#include <service.h>
Operations | |
| int | main (int argc, char **argv) |
| Process command line and run service. | |
| virtual void | service_start (std::vector< CL_String > &args)=0 |
| Called when the service is asked to start. | |
| virtual void | service_stop ()=0 |
| Called when the service is asked to stop. | |
| virtual void | service_reload ()=0 |
| Called when the service is asked to reload its configuration. | |
Implementation | |
| class | CL_Service_Impl |
Public Member Functions | |
Construction | |
| CL_Service (const CL_String &service_name) | |
| Constructs a service object. | |
| ~CL_Service () | |
Attributes | |
| const CL_String & | get_service_name () const |
| Returns the service name. | |
|
|
Constructs a service object.
|
|
|
|
|
|
Returns the service name.
|
|
||||||||||||
|
Process command line and run service.
|
|
|
Called when the service is asked to reload its configuration.
|
|
|
Called when the service is asked to start.
|
|
|
Called when the service is asked to stop.
|
|
|
|
1.4.6