IfConfigObserver (IfConfig& ifc)
| IfConfigObserver |
~IfConfigObserver ()
| ~IfConfigObserver |
[virtual]
IfConfig& ifc ()
| ifc |
void register_ifc_primary ()
| register_ifc_primary |
[virtual]
void register_ifc_secondary ()
| register_ifc_secondary |
[virtual]
void set_primary ()
| set_primary |
[virtual]
void set_secondary ()
| set_secondary |
[virtual]
bool is_primary ()
| is_primary |
[const virtual]
bool is_secondary ()
| is_secondary |
[const virtual]
bool is_running ()
| is_running |
[const virtual]
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 uint8_t* data, size_t nbytes)
| receive_data |
[pure virtual]
Receive data from the underlying system.
Parameters:
data | the buffer with the received data. |
nbytes | the number of bytes in the data buffer data. |
bool _is_running | _is_running |
[protected]