xorp

FibConfigEntryObserver Class Reference

Inheritance diagram for FibConfigEntryObserver:
FibConfigEntryObserverDummy FibConfigEntryObserverIPHelper FibConfigEntryObserverRtmV2

List of all members.

Public Member Functions

 FibConfigEntryObserver (FeaDataPlaneManager &fea_data_plane_manager)
 Constructor.
virtual ~FibConfigEntryObserver ()
 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

FibConfigEntryObserver::FibConfigEntryObserver ( FeaDataPlaneManager fea_data_plane_manager) [inline]

Constructor.

Parameters:
fea_data_plane_managerthe corresponding data plane manager (FeaDataPlaneManager).

Member Function Documentation

FeaDataPlaneManager& FibConfigEntryObserver::fea_data_plane_manager ( ) [inline]

Get the FeaDataPlaneManager instance.

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

Get the FibConfig instance.

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

Test whether this instance is running.

Returns:
true if the instance is running, otherwise false.
virtual int FibConfigEntryObserver::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 FibConfigEntryObserverDummy, and FibConfigEntryObserverIPHelper.

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

Receive data from the underlying system.

Parameters:
bufferthe buffer with the received data.

Implemented in FibConfigEntryObserverDummy, and FibConfigEntryObserverIPHelper.

virtual int FibConfigEntryObserver::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 FibConfigEntryObserverDummy, FibConfigEntryObserverIPHelper, and FibConfigEntryObserverRtmV2.

virtual int FibConfigEntryObserver::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 FibConfigEntryObserverDummy, FibConfigEntryObserverIPHelper, and FibConfigEntryObserverRtmV2.


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