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 |
Static Public Member Functions | |
static RefPointer< CallEndpoint > | locate (const String &id) |
Protected Member Functions | |
ChanAssist (ChanAssistList *list, const String &id) |
Object that assists a channel
virtual ~ChanAssist | ( | ) | [virtual] |
Destructor
ChanAssist | ( | ChanAssistList * | list, |
const String & | id | ||
) | [inline, protected] |
Constructor of base class
list | ChanAssistList that owns this object |
id | Identifier of the assisted channel |
const String& id | ( | ) | const [inline] |
Get the name of the assisted channel
ChanAssistList* list | ( | ) | const [inline] |
Retrive the list that owns this object
static RefPointer<CallEndpoint> locate | ( | const String & | id | ) | [static] |
Retrive a smart pointer to an arbitrary channel
id | Identifier of the channel to locate |
RefPointer<CallEndpoint> locate | ( | ) | const [inline] |
Retrive a smart pointer to the assisted channel
References ChanAssist::locate().
Referenced by ChanAssist::locate().
Process the channel disconnect message, may connect to something else
msg | The chan.disconnected message |
reason | The disconnection reason |
virtual void msgExecute | ( | Message & | msg | ) | [virtual] |
Process the call.execute message, copy any parameters needed later
msg | Call execute message, may be received before chan.startup |
virtual void msgHangup | ( | Message & | msg | ) | [virtual] |
Process the chan.hangup message
msg | Last channel message |
virtual void msgStartup | ( | Message & | msg | ) | [virtual] |
Process the chan.startup message
msg | First channel message, may be received after call.execute |
virtual const String& toString | ( | ) | const [inline, virtual] |