|
Yate
|
Trunk info. More...
#include <yateiax.h>
Public Member Functions | |
| IAXTrunkInfo () | |
| void | init (const NamedList ¶ms, const String &prefix=String::empty(), const IAXTrunkInfo *def=0) |
| void | initTrunking (const NamedList ¶ms, const String &prefix=String::empty(), const IAXTrunkInfo *def=0, bool out=true, bool in=true) |
| void | updateTrunking (const NamedList ¶ms, const String &prefix=String::empty(), bool out=true, bool in=true) |
| void | dump (String &buf, const char *sep=" ", bool out=true, bool in=true, bool other=true) |
Public Member Functions inherited from RefObject | |
| RefObject () | |
| virtual | ~RefObject () |
| virtual void * | getObject (const String &name) const |
| virtual bool | alive () const |
| bool | ref () |
| bool | deref () |
| int | refcount () const |
| virtual void | destruct () |
Public Member Functions inherited from GenObject | |
| GenObject () | |
| virtual | ~GenObject () |
| virtual const String & | toString () const |
| virtual const String & | traceId () const |
| NamedCounter * | getObjCounter () const |
| NamedCounter * | setObjCounter (NamedCounter *counter) |
Additional Inherited Members | |
Static Public Member Functions inherited from RefObject | |
| static bool | alive (const RefObject *obj) |
| static bool | efficientIncDec () |
Static Public Member Functions inherited from GenObject | |
| static void * | getObject (const String &name, const GenObject *obj) |
| static bool | getObjCounting () |
| static void | setObjCounting (bool enable) |
| static NamedCounter * | getObjCounter (const String &name, bool create=true) |
| static ObjList & | getObjCounters () |
Protected Member Functions inherited from RefObject | |
| virtual void | zeroRefs () |
| bool | resurrect () |
| virtual void | destroyed () |
Trunk info.
This class holds trunk description
|
inline |
Constructor
Referenced by init(), and initTrunking().
| void dump | ( | String & | buf, |
| const char * | sep = " ", | ||
| bool | out = true, | ||
| bool | in = true, | ||
| bool | other = true ) |
Dump info
| buf | Destination buffer |
| sep | Parameters separator |
| out | True to dump outgoing trunking info |
| in | True to dump incoming trunking info |
| other | True to dump non trunking info |
| void init | ( | const NamedList & | params, |
| const String & | prefix = String::empty(), | ||
| const IAXTrunkInfo * | def = 0 ) |
Init non trunking related data
| params | Parameter list |
| prefix | Parameter prefix |
| def | Optional defaults |
References String::empty(), and IAXTrunkInfo().
| void initTrunking | ( | const NamedList & | params, |
| const String & | prefix = String::empty(), | ||
| const IAXTrunkInfo * | def = 0, | ||
| bool | out = true, | ||
| bool | in = true ) |
Init trunking from parameters
| params | Parameter list |
| prefix | Parameter prefix |
| def | Optional defaults |
| out | True to init outgoing trunk data |
| in | True to init incoming trunk data |
References String::empty(), and IAXTrunkInfo().
| void updateTrunking | ( | const NamedList & | params, |
| const String & | prefix = String::empty(), | ||
| bool | out = true, | ||
| bool | in = true ) |
Update trunking from parameters. Don't change values not present in list
| params | Parameter list |
| prefix | Parameter prefix |
| out | True to update outgoing trunk data |
| in | True to update incoming trunk data |
References String::empty().