SIPDialogContext Class Reference

`#include <sippdu.h>`

## Public Member Functions

| SIPDialogContext ()
| SIPDialogContext (const SIPMIMEInfo &mime)
PString | AsString () const
bool | FromString (const PString &str)
const PString & | GetCallID () const
void | SetCallID (const PString &id)
const SIPURL & | GetRequestURI () const
void | SetRequestURI (const SIPURL &url)
const PString & | GetLocalTag () const
void | SetLocalTag (const PString &tag)
const SIPURL & | GetLocalURI () const
void | SetLocalURI (const SIPURL &url)
const PString & | GetRemoteTag () const
void | SetRemoteTag (const PString &tag)
const SIPURL & | GetRemoteURI () const
void | SetRemoteURI (const SIPURL &url)
const SIPURLList & | GetRouteSet () const
void | SetRouteSet (const PString &str)
const SIPURL & | GetProxy () const
void | SetProxy (const SIPURL &proxy, bool addToRouteSet)
void | Update (OpalTransport &transport, const SIP_PDU &response)
unsigned | GetNextCSeq ()
void | IncrementCSeq (unsigned inc)
bool | IsDuplicateCSeq (unsigned sequenceNumber)
bool | IsEstablished () const
OpalTransportAddress | GetRemoteTransportAddress () const
void | SetForking (bool f)

## Protected Attributes

PString | m_callId
SIPURL | m_requestURI
SIPURL | m_localURI
PString | m_localTag
SIPURL | m_remoteURI
PString | m_remoteTag
SIPURLList | m_routeSet
unsigned | m_lastSentCSeq
unsigned | m_lastReceivedCSeq
OpalTransportAddress | m_externalTransportAddress
bool | m_forking
SIPURL | m_proxy

## Detailed Description

Session Initiation Protocol dialog context information.

## Constructor & Destructor Documentation

SIPDialogContext::SIPDialogContext | ( |  | ) |

SIPDialogContext::SIPDialogContext | ( | const SIPMIMEInfo & | mime | ) |

## Member Function Documentation

PString SIPDialogContext::AsString | ( |  | ) | const

bool SIPDialogContext::FromString | ( | const PString & | str | ) |

const PString& SIPDialogContext::GetCallID | ( |  | ) | const

inline

References m_callId.

const PString& SIPDialogContext::GetLocalTag | ( |  | ) | const

inline

References m_localTag.

const SIPURL& SIPDialogContext::GetLocalURI | ( |  | ) | const

inline

References m_localURI.

unsigned SIPDialogContext::GetNextCSeq | ( |  | ) |

const SIPURL& SIPDialogContext::GetProxy | ( |  | ) | const

inline

References m_proxy.

const PString& SIPDialogContext::GetRemoteTag | ( |  | ) | const

inline

References m_remoteTag.

OpalTransportAddress SIPDialogContext::GetRemoteTransportAddress | ( |  | ) | const

const SIPURL& SIPDialogContext::GetRemoteURI | ( |  | ) | const

inline

References m_remoteURI.

const SIPURL& SIPDialogContext::GetRequestURI | ( |  | ) | const

inline

References m_requestURI.

const SIPURLList& SIPDialogContext::GetRouteSet | ( |  | ) | const

inline

References m_routeSet.

void SIPDialogContext::IncrementCSeq | ( | unsigned | inc | ) |

inline

References m_lastSentCSeq.

bool SIPDialogContext::IsDuplicateCSeq | ( | unsigned | sequenceNumber | ) |

Referenced by SIPSubscribeHandler::IsDuplicateCSeq(), and SIPNotifyHandler::IsDuplicateCSeq().

bool SIPDialogContext::IsEstablished | ( |  | ) | const

inline

References m_callId, m_localTag, m_remoteTag, and m_requestURI.

void SIPDialogContext::SetCallID | ( | const PString & | id | ) |

inline

References m_callId.

void SIPDialogContext::SetForking | ( | bool | f | ) |

inline

References m_forking.

void SIPDialogContext::SetLocalTag | ( | const PString & | tag | ) |

inline

References m_localTag.

void SIPDialogContext::SetLocalURI | ( | const SIPURL & | url | ) |

void SIPDialogContext::SetProxy | ( | const SIPURL & | proxy,
|  | bool | addToRouteSet
| ) |  |

void SIPDialogContext::SetRemoteTag | ( | const PString & | tag | ) |

inline

References m_remoteTag.

void SIPDialogContext::SetRemoteURI | ( | const SIPURL & | url | ) |

void SIPDialogContext::SetRequestURI | ( | const SIPURL & | url | ) |

inline

References m_requestURI.

void SIPDialogContext::SetRouteSet | ( | const PString & | str | ) |

inline

References SIPURLList::FromString(), and m_routeSet.

void SIPDialogContext::Update | ( | OpalTransport & | transport,
|  | const SIP_PDU & | response
| ) |  |

## Field Documentation

PString SIPDialogContext::m_callId

protected

Referenced by GetCallID(), IsEstablished(), and SetCallID().

OpalTransportAddress SIPDialogContext::m_externalTransportAddress

protected

bool SIPDialogContext::m_forking

protected

Referenced by SetForking().

unsigned SIPDialogContext::m_lastReceivedCSeq

protected

unsigned SIPDialogContext::m_lastSentCSeq

protected

Referenced by IncrementCSeq().

PString SIPDialogContext::m_localTag

protected

Referenced by GetLocalTag(), IsEstablished(), and SetLocalTag().

SIPURL SIPDialogContext::m_localURI

protected

Referenced by GetLocalURI().

SIPURL SIPDialogContext::m_proxy

protected

Referenced by GetProxy().

PString SIPDialogContext::m_remoteTag

protected

Referenced by GetRemoteTag(), IsEstablished(), and SetRemoteTag().

SIPURL SIPDialogContext::m_remoteURI

protected

Referenced by GetRemoteURI().

SIPURL SIPDialogContext::m_requestURI

protected

Referenced by GetRequestURI(), IsEstablished(), and SetRequestURI().

SIPURLList SIPDialogContext::m_routeSet

protected

Referenced by GetRouteSet(), and SetRouteSet().

The documentation for this class was generated from the following file:

- sippdu.h