BLOG | DOCUMENTATION | GITHUB

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) throw (Error)
 
virtual void writeObject (ContainerNode &node) const throw (Error)
 
- Public Member Functions inherited from pj::PersistentObject
virtual ~PersistentObject ()
 
virtual void readObject (const ContainerNode &node)=0 throw (Error)
 
virtual void writeObject (ContainerNode &node) const =0 throw (Error)
 

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)
throw (Error
)
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
throw (Error
)
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.