Bayonne
Static Public Member Functions | Protected Member Functions | Friends | List of all members
ost::BayonneService Class Reference

Bayonne services are used for threaded modules which may be installed at runtime. More...

#include <bayonne.h>

Inheritance diagram for ost::BayonneService:

Static Public Member Functions

static void start (void)
 Start all service threads. More...
 
static void stop (void)
 Stop all service threads. More...
 

Protected Member Functions

 BayonneService (int pri, size_t stack)
 
virtual void stopService (void)
 Used for stop call interface. More...
 
virtual void startService (void)
 Used for start call interface. More...
 
virtual void detachSession (BayonneSession *s)
 Used at end of call. More...
 
virtual void attachSession (BayonneSession *s)
 Used at running state. More...
 
virtual void enteringCall (BayonneSession *child)
 Used to notify when call is joined. More...
 
virtual void exitingCall (BayonneSession *child)
 Used to notify when exiting join. More...
 

Friends

class __EXPORT BayonneSession
 
void startServices (void)
 
void stopServices (void)
 

Detailed Description

Bayonne services are used for threaded modules which may be installed at runtime.

These exist to integrate plugins with server managed startup and shutdown.

threaded server service.

Author
David Sugar dyfet.nosp@m.@gnu.nosp@m.telep.nosp@m.hony.nosp@m..org

Constructor & Destructor Documentation

ost::BayonneService::BayonneService ( int  pri,
size_t  stack 
)
protected

Member Function Documentation

virtual void ost::BayonneService::attachSession ( BayonneSession s)
protectedvirtual

Used at running state.

virtual void ost::BayonneService::detachSession ( BayonneSession s)
protectedvirtual

Used at end of call.

virtual void ost::BayonneService::enteringCall ( BayonneSession child)
protectedvirtual

Used to notify when call is joined.

virtual void ost::BayonneService::exitingCall ( BayonneSession child)
protectedvirtual

Used to notify when exiting join.

static void ost::BayonneService::start ( void  )
static

Start all service threads.

virtual void ost::BayonneService::startService ( void  )
protectedvirtual

Used for start call interface.

static void ost::BayonneService::stop ( void  )
static

Stop all service threads.

virtual void ost::BayonneService::stopService ( void  )
protectedvirtual

Used for stop call interface.

Friends And Related Function Documentation

friend class __EXPORT BayonneSession
friend
void startServices ( void  )
friend
void stopServices ( void  )
friend

The documentation for this class was generated from the following file: