class RibNotifierBase
|
Base class for RIB notificatiers.
More... |
|
|
Public Methods
Public Members
Protected Methods
Protected Members
- EventLoop& _e
- UpdateQueue<A>& _uq
- typename UpdateQueue<A>::ReadIterator _ri
- uint32_t _poll_ms
- XorpTimer _t
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]
[protected]
[protected]
[protected]
uint32_t _poll_ms
| _poll_ms |
[protected]
[protected]
Generated by: pavlin on possum.icir.org on Thu Jul 8 23:48:39 2004, using kdoc $.