Bayonne2 / Common C++ 2 Framework
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Static Public Member Functions | Protected Member Functions | Private Attributes | Static Private Attributes | Friends
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:
Inheritance graph
[legend]
Collaboration diagram for ost::BayonneService:
Collaboration graph
[legend]

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...
 

Private Attributes

BayonneServicenext
 

Static Private Attributes

static BayonneServicefirst
 
static BayonneServicelast
 

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

Definition at line 3309 of file bayonne.h.

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

Definition at line 3312 of file bayonne.h.

void startServices ( void  )
friend
void stopServices ( void  )
friend

Field Documentation

BayonneService* ost::BayonneService::first
staticprivate

Definition at line 3314 of file bayonne.h.

BayonneService* ost::BayonneService::last
staticprivate

Definition at line 3315 of file bayonne.h.

BayonneService* ost::BayonneService::next
private

Definition at line 3316 of file bayonne.h.


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