SIP Witch 1.9.15
|
Service configuration and component callbacks. More...
#include <ucommon/linked.h>
#include <ucommon/thread.h>
#include <ucommon/string.h>
#include <ucommon/fsys.h>
#include <sipwitch/namespace.h>
#include <sipwitch/mapped.h>
#include <sipwitch/control.h>
#include <sipwitch/cdr.h>
Go to the source code of this file.
Data Structures | |
class | sipwitch::service |
System configuration instance and service functions. More... | |
struct | sipwitch::service::define |
Keyword and value pair definition lists. More... | |
class | sipwitch::service::keyclone |
Used to splice new chains onto an existing xml tree. More... | |
class | sipwitch::service::usernode |
Pointer to a provisioned user xml subtree. More... | |
class | sipwitch::service::pointer |
A pointer to a subtree in the xml configuration tree. More... | |
class | sipwitch::service::instance |
The current singleton instance of the active xml configuration tree. More... | |
class | sipwitch::service::callback |
Callback methods for objects managed under the service thread. More... | |
class | sipwitch::service::keymap |
Linked list of named xml node locations. More... | |
Namespaces | |
sipwitch | |
Common namespace for sipwitch server. | |
Macros | |
#define | CONFIG_KEY_SIZE 177 |
#define | RUNLEVELS (sizeof(callback::runlevels) / sizeof(LinkedObject *)) |
#define | PRIORITY_RUNLEVEL 0 |
#define | DEFAULT_RUNLEVEL 1 |
#define | MODULE_RUNLEVEL (RUNLEVELS - 1) |
#define | GENERIC_RUNLEVEL (RUNLEVELS - 2) |
Service configuration and component callbacks.
The service class offers tree based configuration subsystem that is parsed from XML configuration files. The service class also offers a callback bus for attaching server components and for controlling component startup and shutdown. This service bus can be extended through plugins as well as local objects in your server, all of which derive from the callback member class of service. Other features include support of snapshot dumps and checking functions to determine state of running servers.
Definition in file service.h.
#define RUNLEVELS (sizeof(callback::runlevels) / sizeof(LinkedObject *)) |