class RedistXrlOutput
|
Route Redistributor output that sends route add and deletes to
remote redistribution target via the redist{4,6} xrl interfaces. More... |
|
|
Public Types
Public Methods
Public Members
Protected Methods
Protected Members
Route Redistributor output that sends route add and deletes to
remote redistribution target via the redist{4,6} xrl interfaces.
typedef list<Task*> TaskQueue | TaskQueue |
RedistXrlOutput (Redistributor<A>* redistributor,
XrlRouter& xrl_router,
const string& from_protocol,
const string& xrl_target_name,
const string& cookie)
| RedistXrlOutput |
Constructor.
Parameters:
redistributor | originator of route add and delete requests.
|
xrl_router | router to be used to send XRLs.
|
from_protocol | name of protocol routes are redistributed from.
|
xrl_target_name | name of XRL entity to send XRLs to.
|
cookie | cookie passed in redist interface XRLs to identify
source of updates.
|
is_xrl_transaction_output | if true, the add/delete route XRLs
are grouped into transactions.
|
~RedistXrlOutput ()
| ~RedistXrlOutput |
Reimplemented from RedistOutput.
Reimplemented from RedistOutput.
void starting_route_dump ()
| starting_route_dump |
Reimplemented from RedistOutput.
void finishing_route_dump ()
| finishing_route_dump |
Reimplemented from RedistOutput.
void task_completed (Task* task)
| task_completed |
[virtual]
void task_failed_fatally (Task* task)
| task_failed_fatally |
inline const string& xrl_target_name ()
| xrl_target_name |
[const]
inline const string& cookie ()
| cookie |
[const]
static const uint32_t HI_WATER
| HI_WATER |
static const uint32_t LO_WATER
| LO_WATER |
static const uint32_t MAX_RETRIES
| MAX_RETRIES |
static const uint32_t RETRY_PAUSE_MS
| RETRY_PAUSE_MS |
void start_running_tasks ()
| start_running_tasks |
[protected virtual]
void start_next_task ()
| start_next_task |
[protected]
inline void incr_task_count ()
| incr_task_count |
[protected]
inline void decr_task_count ()
| decr_task_count |
[protected]
inline uint32_t task_count ()
| task_count |
[protected const]
inline void enqueue_task (Task* task)
| enqueue_task |
[protected]
inline void dequeue_task (Task* task)
| dequeue_task |
[protected]
[protected]
string _from_protocol
| _from_protocol |
[protected]
string _target_name
| _target_name |
[protected]
[protected]
[protected]
uint32_t _n_tasks
| _n_tasks |
[protected]
template <typename A>
const string&
xrl_target_name ()
| xrl_target_name |
[protected const]
template <typename A>
const string&
cookie ()
| cookie |
[protected const]
Generated by: pavlin on possum.icir.org on Thu Jul 8 23:48:37 2004, using kdoc $.