BLOG | DOCUMENTATION | TRAC

Home --> Documentations --> PJSIP Reference

pj::BuddyConfig Struct Reference

#include <presence.hpp>

Inheritance diagram for pj::BuddyConfig:
pj::PersistentObject

Public Member Functions

virtual void readObject (const ContainerNode &node) PJSUA2_THROW(Error)
 
virtual void writeObject (ContainerNode &node) const PJSUA2_THROW(Error)
 
- Public Member Functions inherited from pj::PersistentObject
virtual ~PersistentObject ()
 

Data Fields

string uri
 
bool subscribe
 

Detailed Description

This structure describes buddy configuration when adding a buddy to the buddy list with Buddy::create().

Member Function Documentation

◆ readObject()

virtual void pj::BuddyConfig::readObject ( const ContainerNode node)
virtual

Read this object from a container node.

Parameters
nodeContainer to read values from.

Implements pj::PersistentObject.

◆ writeObject()

virtual void pj::BuddyConfig::writeObject ( ContainerNode node) const
virtual

Write this object to a container node.

Parameters
nodeContainer to write values to.

Implements pj::PersistentObject.

Field Documentation

◆ uri

string pj::BuddyConfig::uri

Buddy URL or name address.

◆ subscribe

bool pj::BuddyConfig::subscribe

Specify whether presence subscription should start immediately.


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

 


PJSIP Open Source, high performance, small footprint, and very very portable SIP stack
Copyright (C) 2006-2008 Teluu Inc.