class RibNotifierBase

Base class for RIB notificatiers. More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods

Public Members

Protected Methods

Protected Members


Detailed Description

This class acts as a base class for RIB notifiers. RIB notifiers are classes that convey RIP routes to the RIB. The base class implements update queue polling. When polling is enabled, it polls the UpdateQueue periodically for updates to be send to the RIB. If updates are available available it calls updates_available() which derived classes implement according to their needs.

static const uint32_t DEFAULT_POLL_MS

DEFAULT_POLL_MS

 RibNotifierBase (EventLoop& eventloop, UpdateQueue<A>& update_queue, uint32_t poll_ms = DEFAULT_POLL_MS)

RibNotifierBase

 ~RibNotifierBase ()

~RibNotifierBase

[virtual]

void  updates_available ()

updates_available

[protected pure virtual]

void  start_polling ()

start_polling

[protected]

void  stop_polling ()

stop_polling

[protected]

bool  poll_updates ()

poll_updates

[protected]

EventLoop& _e

_e

[protected]

UpdateQueue<A>& _uq

_uq

[protected]

typename UpdateQueue<A>::ReadIterator _ri

_ri

[protected]

uint32_t _poll_ms

_poll_ms

[protected]

XorpTimer _t

_t

[protected]


Generated by: pavlin on possum.icir.org on Wed Aug 2 15:36:43 2006, using kdoc $.