| IfConfigObserver (FeaDataPlaneManager& fea_data_plane_manager)
| IfConfigObserver |
Constructor.
Parameters:
| fea_data_plane_manager | the corresponding data plane manager (FeaDataPlaneManager). |
| ~IfConfigObserver ()
| ~IfConfigObserver |
[virtual]
| IfConfig& ifconfig ()
| ifconfig |
Get the IfConfig instance.
Returns: the IfConfig instance.
| FeaDataPlaneManager& fea_data_plane_manager ()
| fea_data_plane_manager |
Get the FeaDataPlaneManager instance.
Returns: the FeaDataPlaneManager instance.
| bool is_running ()
| is_running |
[const virtual]
Test whether this instance is running.
Returns: true if the instance is running, otherwise false.
| int start (string& error_msg)
| start |
[pure virtual]
Start operation.
Parameters:
| error_msg | the error message (if error). |
Returns: XORP_OK on success, otherwise XORP_ERROR.
| int stop (string& error_msg)
| stop |
[pure virtual]
Stop operation.
Parameters:
| error_msg | the error message (if error). |
Returns: XORP_OK on success, otherwise XORP_ERROR.
| void receive_data (const vector<uint8_t>& buffer)
| receive_data |
[pure virtual]
Receive data from the underlying system.
Parameters:
| buffer | the buffer with the received data. |
| bool _is_running | _is_running |
[protected]