|
xorp
|
Public Member Functions | |
| FibConfigTableObserver (FeaDataPlaneManager &fea_data_plane_manager) | |
| Constructor. | |
| virtual | ~FibConfigTableObserver () |
| Virtual destructor. | |
| FibConfig & | fibconfig () |
| Get the FibConfig instance. | |
| FeaDataPlaneManager & | fea_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 |
| FibConfigTableObserver::FibConfigTableObserver | ( | FeaDataPlaneManager & | fea_data_plane_manager | ) | [inline] |
Constructor.
| fea_data_plane_manager | the corresponding data plane manager (FeaDataPlaneManager). |
| FeaDataPlaneManager& FibConfigTableObserver::fea_data_plane_manager | ( | ) | [inline] |
Get the FeaDataPlaneManager instance.
| FibConfig& FibConfigTableObserver::fibconfig | ( | ) | [inline] |
| virtual bool FibConfigTableObserver::is_running | ( | ) | const [inline, virtual] |
Test whether this instance is running.
| 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.
Implemented in FibConfigTableObserverDummy, FibConfigTableObserverIPHelper, and FibConfigTableObserverRtmV2.
| virtual int FibConfigTableObserver::start | ( | string & | error_msg | ) | [pure virtual] |
Start operation.
| error_msg | the error message (if error). |
Implemented in FibConfigTableObserverDummy, FibConfigTableObserverIPHelper, and FibConfigTableObserverRtmV2.
| virtual int FibConfigTableObserver::stop | ( | string & | error_msg | ) | [pure virtual] |
Stop operation.
| error_msg | the error message (if error). |
Implemented in FibConfigTableObserverDummy, FibConfigTableObserverIPHelper, and FibConfigTableObserverRtmV2.