|
sipxtacklib
Version 3.3
|
#include <SipSession.h>


Public Types | |
| enum | SessionState { SESSION_UNKNOWN, SESSION_INITIATED, SESSION_SETUP, SESSION_FAILED, SESSION_TERMINATED } |
Public Member Functions | |
| SipSession (const SipMessage *initialMessage=NULL, UtlBoolean isFromLocal=TRUE) | |
| SipSession (const char *callId, const char *toUrl, const char *fromUrl) | |
| virtual | ~SipSession () |
| SipSession (const SipSession &rSipSession) | |
| SipSession & | operator= (const SipSession &rhs) |
| void | updateSessionData (SipMessage &message) |
| void | getCallId (UtlString &callId) |
| void | setCallId (const char *callId) |
| void | getFromUrl (Url &fromUrl) |
| void | setFromUrl (const Url &fromUrl) |
| void | getToUrl (Url &toUrl) |
| void | setToUrl (const Url &toUrl) |
| void | getRemoteContact (Url &remoteContact) |
| void | setRemoteContact (const Url &remoteContact) |
| void | getLocalContact (Url &localContact) |
| void | setLocalContact (const Url &localContact) |
| void | getInitialMethod (UtlString &method) |
| void | setInitialMethod (const char *method) |
| int | getNextFromCseq () |
| int | getLastFromCseq () |
| void | setLastFromCseq (int seqNum) |
| int | getLastToCseq () |
| void | setLastToCseq (int seqNum) |
| void | getLocalRequestUri (UtlString &requestUri) |
| void | setLocalRequestUri (UtlString &requestUri) |
| void | getRemoteRequestUri (UtlString &requestUri) |
| void | setRemoteRequestUri (UtlString &requestUri) |
| void | getContactRequestUri (UtlString &requestContactUri) |
| void | setContactRequestUri (UtlString &requestContactUri) |
| int | getSessionState () |
| UtlBoolean | isSameSession (SipMessage &message) |
| UtlBoolean | isMessageFromInitiator (SipMessage &message) |
| UtlBoolean | isMessageFromDestination (SipMessage &message) |
Protected Attributes | |
| Url | mLocalUrl |
| Url | mRemoteUrl |
| Url | mLocalContact |
| Url | mRemoteContact |
| UtlString | mInitialMethod |
| UtlString | msLocalRequestUri |
| UtlString | msRemoteRequestUri |
| UtlString | msContactUriStr |
| int | mInitialLocalCseq |
| int | mInitialRemoteCseq |
| int | mLastFromCseq |
| int | mLastToCseq |
| int | mSessionState |
| enum SessionState |
| SipSession | ( | const SipMessage * | initialMessage = NULL, |
| UtlBoolean | isFromLocal = TRUE |
||
| ) |
| SipSession | ( | const char * | callId, |
| const char * | toUrl, | ||
| const char * | fromUrl | ||
| ) |
|
virtual |
| SipSession | ( | const SipSession & | rSipSession | ) |
| SipSession & operator= | ( | const SipSession & | rhs | ) |
| void updateSessionData | ( | SipMessage & | message | ) |
| void getCallId | ( | UtlString & | callId | ) |
| void setCallId | ( | const char * | callId | ) |
| void getFromUrl | ( | Url & | fromUrl | ) |
| void setFromUrl | ( | const Url & | fromUrl | ) |
| void getToUrl | ( | Url & | toUrl | ) |
| void setToUrl | ( | const Url & | toUrl | ) |
| void getRemoteContact | ( | Url & | remoteContact | ) |
| void setRemoteContact | ( | const Url & | remoteContact | ) |
| void getLocalContact | ( | Url & | localContact | ) |
| void setLocalContact | ( | const Url & | localContact | ) |
| void getInitialMethod | ( | UtlString & | method | ) |
| void setInitialMethod | ( | const char * | method | ) |
| int getNextFromCseq | ( | ) |
| int getLastFromCseq | ( | ) |
| void setLastFromCseq | ( | int | seqNum | ) |
| int getLastToCseq | ( | ) |
| void setLastToCseq | ( | int | seqNum | ) |
| void getLocalRequestUri | ( | UtlString & | requestUri | ) |
| void setLocalRequestUri | ( | UtlString & | requestUri | ) |
| void getRemoteRequestUri | ( | UtlString & | requestUri | ) |
| void setRemoteRequestUri | ( | UtlString & | requestUri | ) |
| void getContactRequestUri | ( | UtlString & | requestContactUri | ) |
| void setContactRequestUri | ( | UtlString & | requestContactUri | ) |
|
inline |
| UtlBoolean isSameSession | ( | SipMessage & | message | ) |
| UtlBoolean isMessageFromInitiator | ( | SipMessage & | message | ) |
| UtlBoolean isMessageFromDestination | ( | SipMessage & | message | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |