|
Yate
|
#include <yatepbx.h>
Public Member Functions | |
| virtual | ~ChanAssist () |
| virtual const String & | toString () const |
| virtual void | msgStartup (Message &msg) |
| virtual void | msgHangup (Message &msg) |
| virtual void | msgExecute (Message &msg) |
| virtual bool | msgDisconnect (Message &msg, const String &reason) |
| ChanAssistList * | list () const |
| const String & | id () const |
| RefPointer< CallEndpoint > | locate () const |
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 & | traceId () const |
| NamedCounter * | getObjCounter () const |
| NamedCounter * | setObjCounter (NamedCounter *counter) |
Static Public Member Functions | |
| static RefPointer< CallEndpoint > | locate (const String &id) |
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 | |
| ChanAssist (ChanAssistList *list, const String &id) | |
Protected Member Functions inherited from RefObject | |
| virtual void | zeroRefs () |
| bool | resurrect () |
| virtual void | destroyed () |
Object that assists a channel
|
virtual |
Destructor
|
inlineprotected |
Constructor of base class
| list | ChanAssistList that owns this object |
| id | Identifier of the assisted channel |
|
inline |
|
inline |
Retrieve the list that owns this object
Referenced by ChanAssist().
|
inline |
Retrieve a smart pointer to the assisted channel
References locate().
|
static |
Retrieve a smart pointer to an arbitrary channel
| id | Identifier of the channel to locate |
Referenced by locate().
|
virtual |
Process the channel disconnect message, may connect to something else
| msg | The chan.disconnected message |
| reason | The disconnection reason |
|
virtual |
Process the call.execute message, copy any parameters needed later
| msg | Call execute message, may be received before chan.startup |
|
virtual |
Process the chan.hangup message
| msg | Last channel message |
|
virtual |
Process the chan.startup message
| msg | First channel message, may be received after call.execute |
|
inlinevirtual |