Call routing thread. More...
#include <yatephone.h>
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 |
Call routing thread.
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 |
| const String& id | ( | ) | const [inline, protected] |
Get the routed channel identifier
| virtual bool route | ( | ) | [virtual] |
Actual routing method
| virtual void run | ( | ) | [virtual] |
Main thread running method
Implements Runnable.
1.6.3