#include <yatephone.h>
Inheritance diagram for Module:
Public Member Functions | |
virtual void * | getObject (const String &name) const |
const String & | name () const |
const String & | type () const |
void | changed () |
bool | filterInstalled () const |
bool | filterDebug (const String &item) const |
Static Public Member Functions | |
static unsigned int | updateDelay () |
static void | updateDelay (unsigned int delay) |
Protected Types | |
enum | { Status = 0x00000001, Timer = 0x00000002, Level = 0x00000004, Command = 0x00000008, Help = 0x00000010, Halt = 0x00000020, Route = 0x00000040, Execute = 0x00000100, Drop = 0x00000200, Locate = 0x00000400, Masquerade = 0x00000800, Ringing = 0x00001000, Answered = 0x00002000, Tone = 0x00004000, Text = 0x00008000, Progress = 0x00010000, Update = 0x00020000, Transfer = 0x00040000, PubLast = 0x0fffffff, Private = 0x10000000 } |
Protected Member Functions | |
Module (const char *name, const char *type=0) | |
virtual | ~Module () |
virtual void | initialize () |
void | setup () |
bool | installRelay (int id, unsigned priority=100) |
bool | installRelay (const char *name, unsigned priority=100) |
virtual bool | received (Message &msg, int id) |
virtual void | genUpdate (Message &msg) |
virtual void | msgTimer (Message &msg) |
virtual void | msgStatus (Message &msg) |
virtual bool | msgRoute (Message &msg) |
virtual void | statusModule (String &str) |
virtual void | statusParams (String &str) |
virtual bool | setDebug (Message &msg, const String &target) |
Static Protected Member Functions | |
static const char * | messageName (int id) |
Protected Attributes | |
enum TelEngine::Module:: { ... } | RelayID |
Module is a descendent of Plugin specialized in implementing modules
|
IDs of the installed relays |
|
Constructor
|
|
Destructor |
|
Mark the driver statistics "dirty" therefore triggring a delayed status update. |
|
Check by filter rule if debugging should be active
|
|
Check if a debug filter is installed
|
|
Opportunity to modify the update message
Reimplemented in Driver. |
|
Get a pointer to a derived class given that class name
Reimplemented from Plugin. Reimplemented in Driver. |
|
This method is called to initialize the loaded module Implements Plugin. Reimplemented in ClientDriver, Driver, and ChanAssistList. |
|
Install a standard message relay
|
|
Install a standard message relay
|
|
Find the name of a specific Relay ID
|
|
Routing message handler that is invoked for all call.route messages.
Reimplemented in ClientDriver. |
|
Status message handler that is invoked only for matching messages.
Reimplemented in Driver. |
|
Timer message handler.
Reimplemented in ClientDriver. |
|
Retrive the name of the module
|
|
Message receiver handler
Implements MessageReceiver. Reimplemented in Driver, and ChanAssistList. |
|
Set the local debugging level
Reimplemented in Driver. |
|
Install standard message relays Reimplemented in ClientDriver. |
|
Build the module identification part of the status answer
Reimplemented in Driver. |
|
Build the parameter reporting part of the status answer
Reimplemented in Driver. |
|
Retrive the type of the module
|
|
Set the global update notification delay
|
|
Retrive the global update notification delay
|
|
IDs of the installed relays |