SIPDialogNotification Struct Reference

#include <handlers.h>

List of all members.

Classes

struct  Participant

Public Types

enum  States {
  Terminated, Trying, Proceeding, Early,
  Confirmed, FirstState = Terminated, LastState = Confirmed
}
enum  Events {
  NoEvent = -1, Cancelled, Rejected, Replaced,
  LocalBye, RemoteBye, Error, Timeout,
  FirstEvent = Cancelled, LastEvent = Timeout
}
enum  Rendering { RenderingUnknown = -1, NotRenderingMedia, RenderingMedia }

Public Member Functions

 PCLASSINFO (SIPDialogNotification, PObject)
PString GetStateName () const
PString GetEventName () const
 SIPDialogNotification (const PString &entity=PString::Empty())
void PrintOn (ostream &strm) const

Static Public Member Functions

static PString GetStateName (States state)
static PString GetEventName (Events state)

Public Attributes

PString m_entity
PString m_dialogId
PString m_callId
bool m_initiator
States m_state
Events m_eventType
unsigned m_eventCode
struct
SIPDialogNotification::Participant 
m_local
struct
SIPDialogNotification::Participant 
m_remote

Friends

States operator++ (States &state)
States operator-- (States &state)
Events operator++ (Events &evt)
Events operator-- (Events &evt)

Detailed Description

Information for SIP "dialog" event package notification messages.


Member Enumeration Documentation

Enumerator:
NoEvent 
Cancelled 
Rejected 
Replaced 
LocalBye 
RemoteBye 
Error 
Timeout 
FirstEvent 
LastEvent 
Enumerator:
RenderingUnknown 
NotRenderingMedia 
RenderingMedia 
Enumerator:
Terminated 
Trying 
Proceeding 
Early 
Confirmed 
FirstState 
LastState 

Constructor & Destructor Documentation

SIPDialogNotification::SIPDialogNotification ( const PString &  entity = PString::Empty()  ) 

Member Function Documentation

PString SIPDialogNotification::GetEventName (  )  const [inline]

References GetEventName(), and m_eventType.

Referenced by GetEventName().

static PString SIPDialogNotification::GetEventName ( Events  state  )  [static]
PString SIPDialogNotification::GetStateName (  )  const [inline]

References GetStateName(), and m_state.

Referenced by GetStateName().

static PString SIPDialogNotification::GetStateName ( States  state  )  [static]
SIPDialogNotification::PCLASSINFO ( SIPDialogNotification  ,
PObject   
)
void SIPDialogNotification::PrintOn ( ostream &  strm  )  const

Friends And Related Function Documentation

Events operator++ ( Events evt  )  [friend]
States operator++ ( States state  )  [friend]
Events operator-- ( Events evt  )  [friend]
States operator-- ( States state  )  [friend]

Member Data Documentation

Referenced by GetEventName().

Referenced by GetStateName().


The documentation for this struct was generated from the following file:
Generated on Tue Jun 15 00:29:41 2010 for OPAL by  doxygen 1.6.3