Service/daemon class.
More...
#include <service.h>
CL_Service::CL_Service |
( |
const CL_String & |
service_name) | |
|
Constructs a service object.
CL_Service::~CL_Service |
( |
) | |
|
const CL_String& CL_Service::get_service_name |
( |
) | |
const |
Returns the service name.
int CL_Service::main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
Process command line and run service.
virtual void CL_Service::service_reload |
( |
) | |
|
|
protectedpure virtual |
Called when the service is asked to reload its configuration.
virtual void CL_Service::service_start |
( |
std::vector< CL_String > & |
args) | |
|
|
protectedpure virtual |
Called when the service is asked to start.
virtual void CL_Service::service_stop |
( |
) | |
|
|
protectedpure virtual |
Called when the service is asked to stop.
friend class CL_Service_Impl |
|
friend |
The documentation for this class was generated from the following file: