#include <empty_service.h>
Inheritance diagram for empty_service:


Public Member Functions | |
| empty_service () | |
| virtual | ~empty_service () |
| IMPLEMENT_CLASS_NAME ("empty_service") | |
| virtual void | perform_service (int argc, char **argv) |
| this must be overridden by derived classes to provide a service. | |
Definition at line 26 of file empty_service.h.
| empty_service::empty_service | ( | ) |
| empty_service::~empty_service | ( | ) | [virtual] |
| empty_service::IMPLEMENT_CLASS_NAME | ( | "empty_service" | ) |
| virtual void empty_service::perform_service | ( | int | argc, | |
| char ** | argv | |||
| ) | [virtual] |
this must be overridden by derived classes to provide a service.
it begins the operations that are specific to the service being offered. perform_service() can rely on the lower-level service support having begun execution normally and can be assured that the services this one depends on have already started. this function should not exit until should_exit() returns true; at that point, it should exit as quickly as possible.
Implements service_root.
1.5.1