OPAL Version 3.10.4

- Main Page
- Related Pages
- Namespaces
- Data Structures
- Files

- Data Structures
- Class Hierarchy
- Data Fields

Public Member Functions | Static Public Member Functions | Data Fields | Friends
SIPPresenceInfo Class Reference

`#include <handlers.h>`

Inheritance diagram for SIPPresenceInfo:

## 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.
PString | m_note
| Additional information about state change.
PURL | m_entity
| The presentity whose state had changed.
PURL | m_target
| The presentity that is being informed about the state change.
PTime | m_when
| Time/date of state change.

## 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:

- handlers.h