#include <yatephone.h>
Inheritance diagram for Router:
Public Member Functions | |
Router (Driver *driver, const char *id, Message *msg) | |
virtual void | run () |
virtual bool | route () |
virtual void | cleanup () |
Protected Member Functions | |
const String & | id () const |
Asynchronous call routing thread
Constructor - creates a new routing thread
driver | Pointer to the driver that asked for routing | |
id | Unique identifier of the channel being routed | |
msg | Pointer to an already filled message |
virtual void run | ( | ) | [virtual] |
Main thread running method
Implements Runnable.
virtual bool route | ( | ) | [virtual] |
Actual routing method
const String& id | ( | ) | const [inline, protected] |
Get the routed channel identifier