sipXcallLib home page


Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
TaoServerTask Class Reference

#include <TaoServerTask.h>

Inheritance diagram for TaoServerTask:
Inheritance graph
[legend]
Collaboration diagram for TaoServerTask:
Collaboration graph
[legend]

Public Member Functions

 TaoServerTask (const TaoServerTask &rTaoServerTask)
 
virtual ~TaoServerTask ()
 
virtual UtlBoolean handleMessage (OsMsg &rMsg)
 
virtual OsStatus setErrno (int errno)
 
void setClientHandle (TaoObjHandle hClient)
 
void setEventClient (TaoObjHandle hEventClient)
 
TaoListenerManager * getTaoListenerManager ()
 

Static Public Member Functions

static TaoServerTask * getTaoServerTask (CpCallManager *pCallMgr)
 

Private Member Functions

 TaoServerTask (CpCallManager *pCallMgr, PsPhoneTask *pPhoneTask, const UtlString &name="TaoServerTask-%d", void *pArg=NULL, const int maxRequestQMsgs=DEF_MAX_MSGS, const int priority=DEF_PRIO, const int options=DEF_OPTIONS, const int stackSize=DEF_STACKSIZE)
 
 TaoServerTask (const UtlString &name="TaoServerTask-%d", void *pArg=NULL, const int maxRequestQMsgs=DEF_MAX_MSGS, const int priority=DEF_PRIO, const int options=DEF_OPTIONS, const int stackSize=DEF_STACKSIZE)
 
 TaoServerTask (const int maxIncomingQMsgs)
 
TaoStatus initInstance ()
 

Private Attributes

CpCallManager * mpCallMgr
 
PsPhoneTask * mpPhoneTask
 
TaoObjHandle mClientHandle
 
TaoObjHandle mEventClient
 
TaoTransportTask * mpSvrTransport
 
TaoListenerManager * mpListenerMgr
 
TaoObjectMap * mpConnectionDb
 
TaoObjectMap * mpTransactionDb
 
TaoObjectMap * mpListeners
 
TaoObjectMap * mpClients
 
TaoObjectMap * mpAdaptors
 
TaoReference * mpConnectionCnt
 
TaoReference * mpClientCnt
 
TaoReference * mpListenerCnt
 
TaoReference * mpTransactionCnt
 
TaoReference * mpAdaptorCnt
 
OsMsgQ mOutgoingQ
 
PtProvider * mpProvider
 
PtCall * mpCall
 

Static Private Attributes

static TaoServerTask * mpInstance = NULL
 
static OsBSem sLock
 

Constructor & Destructor Documentation

TaoServerTask ( const TaoServerTask &  rTaoServerTask)
~TaoServerTask ( )
virtual
TaoServerTask ( CpCallManager *  pCallMgr,
PsPhoneTask *  pPhoneTask,
const UtlString &  name = "TaoServerTask-%d",
void *  pArg = NULL,
const int  maxRequestQMsgs = DEF_MAX_MSGS,
const int  priority = DEF_PRIO,
const int  options = DEF_OPTIONS,
const int  stackSize = DEF_STACKSIZE 
)
private
TaoServerTask ( const UtlString &  name = "TaoServerTask-%d",
void *  pArg = NULL,
const int  maxRequestQMsgs = DEF_MAX_MSGS,
const int  priority = DEF_PRIO,
const int  options = DEF_OPTIONS,
const int  stackSize = DEF_STACKSIZE 
)
private
TaoServerTask ( const int  maxIncomingQMsgs)
private

Member Function Documentation

TaoListenerManager* getTaoListenerManager ( )
inline
TaoServerTask * getTaoServerTask ( CpCallManager *  pCallMgr)
static
UtlBoolean handleMessage ( OsMsg &  rMsg)
virtual
TaoStatus initInstance ( )
private
void setClientHandle ( TaoObjHandle  hClient)
OsStatus setErrno ( int  errno)
virtual
void setEventClient ( TaoObjHandle  hEventClient)

Member Data Documentation

TaoObjHandle mClientHandle
private
TaoObjHandle mEventClient
private
OsMsgQ mOutgoingQ
private
TaoReference* mpAdaptorCnt
private
TaoObjectMap* mpAdaptors
private
PtCall* mpCall
private
CpCallManager* mpCallMgr
private
TaoReference* mpClientCnt
private
TaoObjectMap* mpClients
private
TaoReference* mpConnectionCnt
private
TaoObjectMap* mpConnectionDb
private
TaoServerTask * mpInstance = NULL
staticprivate
TaoReference* mpListenerCnt
private
TaoListenerManager* mpListenerMgr
private
TaoObjectMap* mpListeners
private
PsPhoneTask* mpPhoneTask
private
PtProvider* mpProvider
private
TaoTransportTask* mpSvrTransport
private
TaoReference* mpTransactionCnt
private
TaoObjectMap* mpTransactionDb
private
OsBSem sLock
staticprivate