|
| ||||||||||||||||
There should be one node per FEA instance.
| XrlFeaNode (EventLoop& eventloop, const string& xrl_fea_targetname,
const string& xrl_finder_targetname,
const string& finder_hostname, uint16_t finder_port,
bool is_dummy)
| XrlFeaNode |
Constructor.
Parameters:
| eventloop | the event loop to use. |
| xrl_fea_targetname | the XRL targetname of the FEA. |
| xrl_finder_targetname | the XRL targetname of the Finder. |
| finder_hostname | the XRL Finder hostname. |
| finder_port | the XRL Finder port. |
| is_dummy | if true, then run the FEA in dummy mode. |
| ~XrlFeaNode ()
| ~XrlFeaNode |
[virtual]
| int startup ()
| startup |
Startup the service operation.
Returns: XORP_OK on success, otherwise XORP_ERROR.
| int shutdown ()
| shutdown |
Shutdown the service operation.
Gracefully shutdown the FEA.
Returns: XORP_OK on success, otherwise XORP_ERROR.
| bool is_running ()
| is_running |
[const]
Test whether the service is running.
Returns: true if the service is still running, otherwise false.
| bool is_shutdown_received ()
| is_shutdown_received |
[const]
Test whether a shutdown XRL request has been received.
Returns: true if shutdown XRL request has been received, otherwise false.
| EventLoop& eventloop ()
| eventloop |
Get the event loop this service is added to.
Returns: the event loop this service is added to.
| XrlStdRouter& xrl_router ()
| xrl_router |
Get the XRL transmission and reception point.
Returns: reference to the XRL transmission and reception point.
| XrlFeaIo& xrl_fea_io ()
| xrl_fea_io |
Get the FEA I/O XRL instance.
Returns: reference to the FEA I/O XRL instance.
| FeaNode& fea_node ()
| fea_node |
Get the FEA node instance.
Returns: reference to the FEA node instance.
| XrlFeaTarget& xrl_fea_target ()
| xrl_fea_target |
Get the FEA XRL target.
Returns: reference to the FEA XRL target.
| const string& xrl_finder_targetname ()
| xrl_finder_targetname |
[const]
Get the Finder's XRL target name.
Returns: the Finder's XRL target name.