#include <yatephone.h>
Inheritance diagram for Driver:
Public Member Functions | |
virtual void * | getObject (const String &name) const |
const String & | prefix () const |
bool | varchan () const |
ObjList & | channels () |
virtual Channel * | find (const String &id) const |
virtual bool | isBusy () const |
virtual void | dropAll (Message &msg) |
virtual bool | canAccept (bool routers=true) |
virtual bool | canRoute () |
unsigned int | nextid () |
unsigned int | lastid () const |
int | timeout () const |
int | routing () const |
int | routed () const |
int | total () const |
Protected Member Functions | |
Driver (const char *name, const char *type=0) | |
virtual void | initialize () |
void | setup (const char *prefix=0, bool minimal=false) |
virtual bool | received (Message &msg, int id) |
virtual void | genUpdate (Message &msg) |
virtual bool | msgExecute (Message &msg, String &dest)=0 |
virtual void | msgStatus (Message &msg) |
virtual void | statusModule (String &str) |
virtual void | statusParams (String &str) |
virtual void | statusChannels (String &str) |
virtual bool | setDebug (Message &msg, const String &target) |
virtual void | loadLimits () |
void | varchan (bool variable) |
void | timeout (int tout) |
void | maxRoute (int ncalls) |
void | maxChans (int ncalls) |
Friends | |
class | Router |
class | Channel |
Driver is a module specialized for implementing channel drivers
|
Constructor
|
|
Check if new connections can be accepted
|
|
Check if new incoming connections can be routed
|
|
Get the list of channels of this driver
|
|
Drop all current channels
|
|
Find a channel by id
|
|
Opportunity to modify the update message
Reimplemented from Module. |
|
Get a pointer to a derived class given that class name
Reimplemented from Module. |
|
This method is called to initialize the loaded module Reimplemented from Module. Reimplemented in ClientDriver. |
|
Check if the driver is actively used.
Reimplemented from Plugin. |
|
Get the current (last used) unique numeric id from a sequence
|
|
Load the global limits from the main config file |
|
Set the maximum number of running channels for this driver
|
|
Set the maximum number of routing messages for this driver
|
|
Create an outgoing calling channel
Implemented in ClientDriver. |
|
Status message handler that is invoked only for matching messages.
Reimplemented from Module. |
|
Get the next unique numeric id from a sequence
|
|
Retrive the prefix that is used as base for all channels
|
|
Message receiver handler
Reimplemented from Module. |
|
Get the number of calls successfully routed
|
|
Get the number of calls currently in the routing stage
|
|
Set the local debugging level
Reimplemented from Module. |
|
Install standard message relays and set up the prefix
|
|
Build the clannel list part of the status answer
|
|
Build the module identification part of the status answer
Reimplemented from Module. |
|
Build the parameter reporting part of the status answer
Reimplemented from Module. |
|
Set the default driver timeout
|
|
Get the default driver timeout
|
|
Get the total number of calls ever created
|
|
Set if this driver is for dynamic (variable number) channels
|
|
Check if this driver is for dynamic (variable number) channels
|