#include <TaoTransportAgent.h>


Public Member Functions | |
| TaoTransportAgent (OsSocket *socket=NULL, const char *remoteHostName=NULL, const char *callId=NULL, const char *toField=NULL, const char *fromField=NULL) | |
| TaoTransportAgent (OsSocket *pSocket, OsServerTask *pServer) | |
| virtual | ~TaoTransportAgent () |
| int | send (TaoMessage &rMsg) |
| virtual int | run (void *pArg) |
| virtual OsStatus | setErrno (int errno) |
| void | getHostIp (UtlString *hostAddress) const |
| void | getAgentName (UtlString *pAgentName) const |
| void | getCallId (UtlString *callId) const |
| void | getToField (UtlString *toField) const |
| void | getFromField (UtlString *fromField) const |
| long | getLastTouchedTime () const |
| int | getHostPort () const |
| UtlBoolean | isOk () |
Private Member Functions | |
| int | readUntilDone (OsSocket *pSocket, char *pBuf, int iLength) |
| TaoTransportAgent (const TaoTransportAgent &rTaoTransportAgent) | |
| TaoTransportAgent & | operator= (const TaoTransportAgent &rhs) |
Private Attributes | |
| OsSocket * | mpSocket |
| OsServerTask * | mpServer |
| UtlString | viaName |
| UtlString | callIdLabel |
| UtlString | toFieldLabel |
| UtlString | fromFieldLabel |
| long | touchedTime |
| OsBSem | mWriteSem |
| TaoTransportAgent | ( | OsSocket * | socket = NULL, |
| const char * | remoteHostName = NULL, |
||
| const char * | callId = NULL, |
||
| const char * | toField = NULL, |
||
| const char * | fromField = NULL |
||
| ) |
| TaoTransportAgent | ( | OsSocket * | pSocket, |
| OsServerTask * | pServer | ||
| ) |
|
virtual |
|
private |
| void getAgentName | ( | UtlString * | pAgentName | ) | const |
| void getCallId | ( | UtlString * | callId | ) | const |
| void getFromField | ( | UtlString * | fromField | ) | const |
| void getHostIp | ( | UtlString * | hostAddress | ) | const |
| int getHostPort | ( | ) | const |
| long getLastTouchedTime | ( | ) | const |
| void getToField | ( | UtlString * | toField | ) | const |
| UtlBoolean isOk | ( | ) |
|
private |
|
private |
|
virtual |
| int send | ( | TaoMessage & | rMsg | ) |
|
virtual |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |