#include <bayonne.h>
Static Public Member Functions | |
static void | start (void) |
Start all service threads. | |
static void | stop (void) |
Stop all service threads. | |
Protected Member Functions | |
BayonneService (int pri, size_t stack) | |
virtual void | stopService (void) |
Used for stop call interface. | |
virtual void | startService (void) |
Used for start call interface. | |
virtual void | detachSession (BayonneSession *s) |
Used at end of call. | |
virtual void | attachSession (BayonneSession *s) |
Used at running state. | |
virtual void | enteringCall (BayonneSession *child) |
Used to notify when call is joined. | |
virtual void | exitingCall (BayonneSession *child) |
Used to notify when exiting join. | |
Friends | |
class __EXPORT | BayonneSession |
void | startServices (void) |
void | stopServices (void) |
These exist to integrate plugins with server managed startup and shutdown.
threaded server service.
ost::BayonneService::BayonneService | ( | int | pri, | |
size_t | stack | |||
) | [protected] |
virtual void ost::BayonneService::stopService | ( | void | ) | [protected, virtual] |
Used for stop call interface.
virtual void ost::BayonneService::startService | ( | void | ) | [protected, virtual] |
Used for start call interface.
virtual void ost::BayonneService::detachSession | ( | BayonneSession * | s | ) | [protected, virtual] |
Used at end of call.
virtual void ost::BayonneService::attachSession | ( | BayonneSession * | s | ) | [protected, virtual] |
Used at running state.
virtual void ost::BayonneService::enteringCall | ( | BayonneSession * | child | ) | [protected, virtual] |
Used to notify when call is joined.
virtual void ost::BayonneService::exitingCall | ( | BayonneSession * | child | ) | [protected, virtual] |
Used to notify when exiting join.
static void ost::BayonneService::start | ( | void | ) | [static] |
Start all service threads.
static void ost::BayonneService::stop | ( | void | ) | [static] |
Stop all service threads.
friend class __EXPORT BayonneSession [friend] |
void startServices | ( | void | ) | [friend] |
void stopServices | ( | void | ) | [friend] |