MultiRouter Class Reference
List of all members.
Public Types |
enum | { Route,
Execute,
Hangup,
Disconnected
} |
Public Member Functions |
void | setup (int priority=0) |
virtual bool | received (Message &msg, int id) |
virtual bool | msgRoute (Message &msg, CallInfo &info, bool first) |
virtual bool | msgExecute (Message &msg, CallInfo &info, bool first) |
virtual bool | msgDisconnected (Message &msg, CallInfo &info) |
virtual void | msgHangup (Message &msg, CallInfo &info) |
virtual Message * | buildExecute (CallInfo &info, bool reroute)=0 |
Message * | defaultExecute (CallInfo &info, const char *route=0) |
Protected Attributes |
CallList | m_list |
Member Function Documentation
virtual bool received |
( |
Message & |
msg, |
|
|
int |
id | |
|
) |
| | [virtual] |
This method is called from the message relay.
- Parameters:
-
| msg | The received message |
| id | The identifier with which the relay was created |
- Returns:
- True to stop processing, false to try other handlers
Implements MessageReceiver.
The documentation for this class was generated from the following file: