class Router

Call routing thread. More...

Full nameTelEngine::Router
Definition#include <yatephone.h>
InheritsTelEngine::Thread [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Protected Methods


Detailed Description

Asynchronous call routing thread

 Router (Driver* driver, const char* id, Message* msg)

Router

Constructor - creates a new routing thread

Parameters:
driverPointer to the driver that asked for routing
idUnique identifier of the channel being routed
msgPointer to an already filled message

void  run ()

run

[virtual]

Main thread running method

Reimplemented from Runnable.

bool  route ()

route

[virtual]

Actual routing method

Returns: True if call was successfully routed

void  cleanup ()

cleanup

[virtual]

Thread cleanup handler

Reimplemented from Thread.

const String&  id ()

id

[protected const]

Get the routed channel identifier

Returns: Unique id of the channel being routed


Generated by: paulc on bussard on Fri Dec 21 16:28:34 2012, using kdoc 2.0a54.