OPAL  Version 3.18.8
SIPDialogContext Class Reference

#include <sippdu.h>

Inherits PObject.

Collaboration diagram for SIPDialogContext:

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 SIPURLGetRequestURI () const
 
void SetRequestURI (const SIPURL &url)
 
const PString & GetLocalTag () const
 
void SetLocalTag (const PString &tag)
 
const SIPURLGetLocalURI () const
 
void SetLocalURI (const SIPURL &url)
 
const PString & GetRemoteTag () const
 
void SetRemoteTag (const PString &tag)
 
const SIPURLGetRemoteURI () const
 
void SetRemoteURI (const SIPURL &url)
 
const SIPURLListGetRouteSet () const
 
void SetRouteSet (const PString &str)
 
const SIPURLGetProxy () const
 
void SetProxy (const SIPURL &proxy, bool addToRouteSet)
 
void Update (const SIP_PDU &response)
 
unsigned GetNextCSeq ()
 
void IncrementCSeq (unsigned inc)
 
bool IsDuplicateCSeq (unsigned sequenceNumber)
 
bool IsEstablished () const
 
OpalTransportAddress GetRemoteTransportAddress (PINDEX dnsEntry) const
 
const PString & GetInterface () const
 
void SetInterface (const PString &newInterface)
 
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
 
OpalTransportAddressArray m_responseAddresses
 
bool m_forking
 
SIPURL m_proxy
 
PString m_interface
 

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::GetInterface ( ) const
inline
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.

Referenced by SIPTransactionOwner::GetProxy().

const PString& SIPDialogContext::GetRemoteTag ( ) const
inline

References m_remoteTag.

OpalTransportAddress SIPDialogContext::GetRemoteTransportAddress ( PINDEX  dnsEntry) const
const SIPURL& SIPDialogContext::GetRemoteURI ( ) const
inline
const SIPURL& SIPDialogContext::GetRequestURI ( ) const
inline
const SIPURLList& SIPDialogContext::GetRouteSet ( ) const
inline

References m_routeSet.

void SIPDialogContext::IncrementCSeq ( unsigned  inc)
inline

References m_lastSentCSeq.

bool SIPDialogContext::IsDuplicateCSeq ( unsigned  sequenceNumber)
bool SIPDialogContext::IsEstablished ( ) const
inline
void SIPDialogContext::SetCallID ( const PString &  id)
inline

References m_callId.

void SIPDialogContext::SetForking ( bool  f)
inline

References m_forking.

void SIPDialogContext::SetInterface ( const PString &  newInterface)
inline

References m_interface.

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)
void SIPDialogContext::SetRouteSet ( const PString &  str)
inline
void SIPDialogContext::Update ( const SIP_PDU response)

Field Documentation

PString SIPDialogContext::m_callId
protected

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

bool SIPDialogContext::m_forking
protected

Referenced by SetForking().

PString SIPDialogContext::m_interface
protected

Referenced by GetInterface(), and SetInterface().

unsigned SIPDialogContext::m_lastReceivedCSeq
protected
unsigned SIPDialogContext::m_lastSentCSeq
protected

Referenced by IncrementCSeq().

PString SIPDialogContext::m_localTag
protected
SIPURL SIPDialogContext::m_localURI
protected

Referenced by GetLocalURI(), and IsEstablished().

SIPURL SIPDialogContext::m_proxy
protected

Referenced by GetProxy().

PString SIPDialogContext::m_remoteTag
protected
SIPURL SIPDialogContext::m_remoteURI
protected

Referenced by GetRemoteURI(), and IsEstablished().

SIPURL SIPDialogContext::m_requestURI
protected

Referenced by GetRequestURI(), and IsEstablished().

OpalTransportAddressArray SIPDialogContext::m_responseAddresses
protected
SIPURLList SIPDialogContext::m_routeSet
protected

Referenced by GetRouteSet(), and SetRouteSet().


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