SIP Witch 1.9.15
Data Structures | Namespaces | Macros
service.h File Reference

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>
Include dependency graph for service.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

  System configuration instance and service functions. More...
 
  Keyword and value pair definition lists. More...
 
  Used to splice new chains onto an existing xml tree. More...
 
  Pointer to a provisioned user xml subtree. More...
 
  A pointer to a subtree in the xml configuration tree. More...
 
  The current singleton instance of the active xml configuration tree. More...
 
  Callback methods for objects managed under the service thread. More...
 
  Linked list of named xml node locations. More...
 

Namespaces

  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)
 

Detailed Description

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.

Macro Definition Documentation

#define CONFIG_KEY_SIZE   177

Definition at line 65 of file service.h.

#define DEFAULT_RUNLEVEL   1

Definition at line 356 of file service.h.

#define GENERIC_RUNLEVEL   (RUNLEVELS - 2)

Definition at line 358 of file service.h.

#define MODULE_RUNLEVEL   (RUNLEVELS - 1)

Definition at line 357 of file service.h.

#define PRIORITY_RUNLEVEL   0

Definition at line 355 of file service.h.

#define RUNLEVELS   (sizeof(callback::runlevels) / sizeof(LinkedObject *))

Definition at line 354 of file service.h.


Generated on Dec 21, 2017 for sipwitch-1.9.15 (*.h and *.cpp), libosip2-5.0.0 (*.h) and libeXosip2-4.0.0 (*.h), by   doxygen 1.8.6

AltStyle によって変換されたページ (->オリジナル) /