xorp

FibConfigTableObserver Class Reference

Inheritance diagram for FibConfigTableObserver:
FibConfigTableObserverDummy FibConfigTableObserverIPHelper FibConfigTableObserverRtmV2

List of all members.

Public Member Functions

 FibConfigTableObserver (FeaDataPlaneManager &fea_data_plane_manager)
 Constructor.
virtual ~FibConfigTableObserver ()
 Virtual destructor.
FibConfigfibconfig ()
 Get the FibConfig instance.
FeaDataPlaneManagerfea_data_plane_manager ()
 Get the FeaDataPlaneManager instance.
virtual bool is_running () const
 Test whether this instance is running.
virtual int start (string &error_msg)=0
 Start operation.
virtual int stop (string &error_msg)=0
 Stop operation.
virtual void receive_data (const vector< uint8_t > &buffer)=0
 Receive data from the underlying system.
virtual int notify_table_id_change (uint32_t new_tbl)=0
 Routing table ID that we are interested in might have changed.

Protected Attributes

bool _is_running

Private Attributes

FibConfig_fibconfig
FeaDataPlaneManager_fea_data_plane_manager

Constructor & Destructor Documentation

FibConfigTableObserver::FibConfigTableObserver ( FeaDataPlaneManager fea_data_plane_manager) [inline]

Constructor.

Parameters:
fea_data_plane_managerthe corresponding data plane manager (FeaDataPlaneManager).

Member Function Documentation

FeaDataPlaneManager& FibConfigTableObserver::fea_data_plane_manager ( ) [inline]

Get the FeaDataPlaneManager instance.

Returns:
the FeaDataPlaneManager instance.
FibConfig& FibConfigTableObserver::fibconfig ( ) [inline]

Get the FibConfig instance.

Returns:
the FibConfig instance.
virtual bool FibConfigTableObserver::is_running ( ) const [inline, virtual]

Test whether this instance is running.

Returns:
true if the instance is running, otherwise false.
virtual int FibConfigTableObserver::notify_table_id_change ( uint32_t  new_tbl) [pure virtual]

Routing table ID that we are interested in might have changed.

Maybe something can filter on this for increased efficiency.

Implemented in FibConfigTableObserverDummy, FibConfigTableObserverIPHelper, and FibConfigTableObserverRtmV2.

virtual void FibConfigTableObserver::receive_data ( const vector< uint8_t > &  buffer) [pure virtual]

Receive data from the underlying system.

Parameters:
bufferthe buffer with the received data.

Implemented in FibConfigTableObserverDummy, FibConfigTableObserverIPHelper, and FibConfigTableObserverRtmV2.

virtual int FibConfigTableObserver::start ( string &  error_msg) [pure virtual]

Start operation.

Parameters:
error_msgthe error message (if error).
Returns:
XORP_OK on success, otherwise XORP_ERROR.

Implemented in FibConfigTableObserverDummy, FibConfigTableObserverIPHelper, and FibConfigTableObserverRtmV2.

virtual int FibConfigTableObserver::stop ( string &  error_msg) [pure virtual]

Stop operation.

Parameters:
error_msgthe error message (if error).
Returns:
XORP_OK on success, otherwise XORP_ERROR.

Implemented in FibConfigTableObserverDummy, FibConfigTableObserverIPHelper, and FibConfigTableObserverRtmV2.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations