#include <TaoListenerClient.h>
Public Member Functions | |
TaoListenerClientTask (TaoClientTask *pClient=NULL, const UtlString &name="TaoListenerClientTask-%d", const int maxRequestQMsgs=DEF_MAX_MSGS) | |
TaoListenerClientTask (const int priority, const UtlString &name="TaoListenerClientTask-%d", void *pArg=NULL, const int maxRequestQMsgs=DEF_MAX_MSGS, const int options=DEF_OPTIONS, const int stackSize=DEF_STACKSIZE) | |
TaoListenerClientTask (const int maxIncomingQMsgs) | |
TaoListenerClientTask (const TaoListenerClientTask &rTaoListenerClientTask) | |
virtual | ~TaoListenerClientTask () |
virtual UtlBoolean | handleMessage (OsMsg &rMsg) |
void | addEventListener (PtEventListener *pListener, const char *callId=NULL) |
void | removeEventListener (PtEventListener &rListener) |
Private Member Functions | |
TaoStatus | initInstance () |
UtlBoolean | receiveEvent (TaoMessage &rMsg) |
UtlBoolean | receiveCallEvent (TaoMessage &rMsg, PtCallListener *pListener) |
UtlBoolean | receiveConnectionEvent (TaoMessage &rMsg, PtConnectionListener *pListener) |
UtlBoolean | receiveTerminalEvent (TaoMessage &rMsg, PtTerminalListener *pListener) |
UtlBoolean | receiveTerminalComponentEvent (TaoMessage &rMsg, PtTerminalComponentListener *pListener) |
UtlBoolean | receiveTerminalConnectionEvent (TaoMessage &rMsg, PtTerminalConnectionListener *pListener) |
UtlBoolean | getCallEvent (TaoMessage &rMsg, PtCallListener *pListener, int &evId) |
UtlBoolean | getConnectionEvent (TaoMessage &rMsg, PtConnectionListener *pListener, int &evId, int &addedToCall, int &remoteIsCallee) |
UtlBoolean | getTerminalConnectionEvent (TaoMessage &rMsg, PtConnectionListener *pListener, int &evId, int &addedToCall, int &remoteIsCallee) |
Private Attributes | |
TaoClientTask * | mpClient |
OsBSem | mListenerSem |
TaoListenerDb ** | mpListeners |
int | mListenerCnt |
int | mMaxNumListeners |
PtCallEvent * | mpCallEvent |
PtConnectionEvent * | mpConnEvent |
PtTerminalConnectionEvent * | mpTermConnEvent |
Friends | |
class | PtTerminal |
TaoListenerClientTask | ( | TaoClientTask * | pClient = NULL , |
const UtlString & | name = "TaoListenerClientTask-%d" , |
||
const int | maxRequestQMsgs = DEF_MAX_MSGS |
||
) |
TaoListenerClientTask | ( | const int | priority, |
const UtlString & | name = "TaoListenerClientTask-%d" , |
||
void * | pArg = NULL , |
||
const int | maxRequestQMsgs = DEF_MAX_MSGS , |
||
const int | options = DEF_OPTIONS , |
||
const int | stackSize = DEF_STACKSIZE |
||
) |
TaoListenerClientTask | ( | const int | maxIncomingQMsgs | ) |
TaoListenerClientTask | ( | const TaoListenerClientTask & | rTaoListenerClientTask | ) |
|
virtual |
void addEventListener | ( | PtEventListener * | pListener, |
const char * | callId = NULL |
||
) |
|
private |
|
private |
|
private |
|
virtual |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
void removeEventListener | ( | PtEventListener & | rListener | ) |
|
friend |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |