sipXcallLib home page


Public Member Functions | Protected Attributes | List of all members
TaoAdaptor Class Reference

Abstract event handler for processing call management event. More...

#include <TaoAdaptor.h>

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

Public Member Functions

 TaoAdaptor (const UtlString &name="TaoAdaptor-%d", const int maxRequestQMsgs=DEF_MAX_MSGS)
 
 TaoAdaptor (const TaoAdaptor &rTaoAdaptor)
 
virtual ~TaoAdaptor ()
 
virtual UtlBoolean handleMessage (OsMsg &rMsg)
 Handle an incoming message. More...
 
virtual void setListenerManager (TaoListenerManager *&rpListenerMgr)
 
virtual void parseMessage (TaoMessage &rMsg)
 
virtual OsStatus setErrno (int errno)
 

Protected Attributes

unsigned char mCmd
 
TaoObjHandle mMsgID
 
TaoObjHandle mObjId
 
TaoObjHandle mClientSocket
 
UtlString mArgList
 
int mArgCnt
 
TaoListenerManagermpListenerMgr
 

Detailed Description

Abstract event handler for processing call management event.

This object must be sub-classed to implement the handleMessage method that will process the incoming call manager events.

Constructor & Destructor Documentation

TaoAdaptor ( const UtlString &  name = "TaoAdaptor-%d",
const int  maxRequestQMsgs = DEF_MAX_MSGS 
)
TaoAdaptor ( const TaoAdaptor rTaoAdaptor)
~TaoAdaptor ( )
virtual

Member Function Documentation

UtlBoolean handleMessage ( OsMsg &  rMsg)
virtual

Handle an incoming message.

If the message is not one that the object is prepared to process, the handleMessage() method in the derived class should return FALSE which will cause the OsServerTask::handleMessage() method to be invoked on the message.

Reimplemented in TaoTerminalAdaptor, TaoProviderAdaptor, TaoCallAdaptor, TaoConnectionAdaptor, TaoTerminalConnectionAdaptor, DialogEventPublisher, PresenceDialInServer, TaoAddressAdaptor, and TaoPhoneComponentAdaptor.

void parseMessage ( TaoMessage rMsg)
virtual
OsStatus setErrno ( int  errno)
virtual
virtual void setListenerManager ( TaoListenerManager *&  rpListenerMgr)
inlinevirtual

Member Data Documentation

int mArgCnt
protected
UtlString mArgList
protected
TaoObjHandle mClientSocket
protected
unsigned char mCmd
protected
TaoObjHandle mMsgID
protected
TaoObjHandle mObjId
protected
TaoListenerManager* mpListenerMgr
protected