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