#include <PtSessionDesc.h>
Public Types | |
enum | SessionState { SESSION_UNKNOWN, SESSION_INITIATED, SESSION_SETUP, SESSION_FAILED, SESSION_TERMINATED } |
Public Member Functions | |
PtSessionDesc () | |
PtSessionDesc (const char *callId, const char *toUrl=NULL, const char *fromUrl=NULL, const char *localContact=NULL, int nextCseq=-1, int lastFromCseq=-1, int lastToCseq=-1, int sessionState=SESSION_UNKNOWN) | |
PtSessionDesc (const PtSessionDesc &rPtSessionDesc) | |
virtual | ~PtSessionDesc () |
PtSessionDesc & | operator= (const PtSessionDesc &rhs) |
void | setCallId (const char *callId) |
void | setFromUrl (const UtlString &fromUrl) |
void | setToUrl (const UtlString &toUrl) |
void | setLocalContact (const UtlString &localContact) |
void | setLastFromCseq (int seqNum) |
void | setLastToCseq (int seqNum) |
void | getCallId (UtlString &callId) |
void | getFromUrl (UtlString &fromUrl) |
void | getToUrl (UtlString &toUrl) |
void | getLocalContact (UtlString &localContact) |
int | getNextFromCseq () |
int | getLastFromCseq () |
int | getLastToCseq () |
int | getSessionState () |
Protected Attributes | |
UtlString | mFromUrl |
UtlString | mToUrl |
UtlString | mLocalContact |
int | mNextCseq |
int | mLastFromCseq |
int | mLastToCseq |
int | mSessionState |
enum SessionState |
PtSessionDesc | ( | ) |
PtSessionDesc | ( | const char * | callId, |
const char * | toUrl = NULL , |
||
const char * | fromUrl = NULL , |
||
const char * | localContact = NULL , |
||
int | nextCseq = -1 , |
||
int | lastFromCseq = -1 , |
||
int | lastToCseq = -1 , |
||
int | sessionState = SESSION_UNKNOWN |
||
) |
PtSessionDesc | ( | const PtSessionDesc & | rPtSessionDesc | ) |
|
virtual |
void getCallId | ( | UtlString & | callId | ) |
void getFromUrl | ( | UtlString & | fromUrl | ) |
int getLastFromCseq | ( | ) |
int getLastToCseq | ( | ) |
void getLocalContact | ( | UtlString & | localContact | ) |
int getNextFromCseq | ( | ) |
int getSessionState | ( | ) |
void getToUrl | ( | UtlString & | toUrl | ) |
PtSessionDesc & operator= | ( | const PtSessionDesc & | rhs | ) |
void setCallId | ( | const char * | callId | ) |
void setFromUrl | ( | const UtlString & | fromUrl | ) |
void setLastFromCseq | ( | int | seqNum | ) |
void setLastToCseq | ( | int | seqNum | ) |
void setLocalContact | ( | const UtlString & | localContact | ) |
void setToUrl | ( | const UtlString & | toUrl | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |