OPAL  Version 3.10.10
SIPPresenceInfo Class Reference

#include <handlers.h>

Inheritance diagram for SIPPresenceInfo:
OpalPresenceInfo

Public Member Functions

 SIPPresenceInfo (State state=Unchanged)
 
PString AsXML () const
 
void PrintOn (ostream &strm) const
 
bool AsSIPActivityString (PString &str) const
 
- Public Member Functions inherited from OpalPresenceInfo
 OpalPresenceInfo (State state=Unchanged)
 
PString AsString () const
 
Comparison Compare (const PObject &other) const
 

Static Public Member Functions

static State FromSIPActivityString (const PString &str)
 
static bool AsSIPActivityString (State state, PString &str)
 
- Static Public Member Functions inherited from OpalPresenceInfo
static PString AsString (State state)
 
static State FromString (const PString &str)
 

Data Fields

PString m_tupleId
 
PString m_contact
 
PStringArray m_activities
 
PString m_presenceAgent
 
PString m_personId
 
- Data Fields inherited from OpalPresenceInfo
State m_state
 New state for presentity. More...
 
PString m_note
 Additional information about state change. More...
 
PURL m_entity
 The presentity whose state had changed. More...
 
PURL m_target
 The presentity that is being informed about the state change. More...
 
PTime m_when
 Time/date of state change. More...
 

Friends

ostream & operator<< (ostream &strm, const SIPPresenceInfo &info)
 

Additional Inherited Members

- Public Types inherited from OpalPresenceInfo
enum  State {
  InternalError = -3, Forbidden = -2, NoPresence = -1, Unchanged,
  Available, Unavailable, ExtendedBase = 100, UnknownExtended = ExtendedBase,
  Appointment, Away, Breakfast, Busy,
  Dinner, Holiday, InTransit, LookingForWork,
  Lunch, Meal, Meeting, OnThePhone,
  Other, Performance, PermanentAbsence, Playing,
  Presentation, Shopping, Sleeping, Spectator,
  Steering, Travel, TV, Vacation,
  Working, Worship
}
 Presence states. More...
 

Detailed Description

Information for SIP "presence" event package notification messages.

Constructor & Destructor Documentation

SIPPresenceInfo::SIPPresenceInfo ( State  state = Unchanged)

Member Function Documentation

static bool SIPPresenceInfo::AsSIPActivityString ( State  state,
PString &  str 
)
static
bool SIPPresenceInfo::AsSIPActivityString ( PString &  str) const
PString SIPPresenceInfo::AsXML ( ) const
static State SIPPresenceInfo::FromSIPActivityString ( const PString &  str)
static
void SIPPresenceInfo::PrintOn ( ostream &  strm) const

Friends And Related Function Documentation

ostream& operator<< ( ostream &  strm,
const SIPPresenceInfo info 
)
friend

Field Documentation

PStringArray SIPPresenceInfo::m_activities
PString SIPPresenceInfo::m_contact
PString SIPPresenceInfo::m_personId
PString SIPPresenceInfo::m_presenceAgent
PString SIPPresenceInfo::m_tupleId

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