|
|
XrlFeaIo (EventLoop& eventloop, XrlRouter& xrl_router,
const string& xrl_finder_targetname)
| XrlFeaIo |
Constructor.
Parameters:
eventloop | the event loop to use. |
xrl_router | the XRL transmission and reception point. |
xrl_finder_targetname | the XRL targetname of the Finder. |
~XrlFeaIo ()
| ~XrlFeaIo |
[virtual]
int startup ()
| startup |
Startup the service operation.
Returns: XORP_OK on success, otherwise XORP_ERROR.
Reimplemented from FeaIo.
int shutdown ()
| shutdown |
Shutdown the service operation.
Returns: XORP_OK on success, otherwise XORP_ERROR.
Reimplemented from FeaIo.
bool is_running ()
| is_running |
[const]
Test whether the service is running.
Returns: true if the service is still running, otherwise false.
Reimplemented from FeaIo.
int register_instance_event_interest (const string& instance_name,
string& error_msg)
| register_instance_event_interest |
Register interest in events relating to a particular instance.
Parameters:
instance_name | name of target instance to receive event notifications for. |
error_msg | the error message (if error). |
Returns: XORP_OK on success, otherwise XORP_ERROR.
Reimplemented from FeaIo.
int deregister_instance_event_interest (const string& instance_name,
string& error_msg)
| deregister_instance_event_interest |
Deregister interest in events relating to a particular instance.
Parameters:
instance_name | name of target instance to stop event notifications for. |
error_msg | the error message (if error). |
Returns: XORP_OK on success, otherwise XORP_ERROR.
Reimplemented from FeaIo.