class XrlFeaNode

FEA (Forwarding Engine Abstraction) node class with XRL front-end. More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods


Detailed Description

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:

eventloopthe event loop to use.
xrl_fea_targetnamethe XRL targetname of the FEA.
xrl_finder_targetnamethe XRL targetname of the Finder.
finder_hostnamethe XRL Finder hostname.
finder_portthe XRL Finder port.
is_dummyif true, then run the FEA in dummy mode.
 ~XrlFeaNode ()

~XrlFeaNode

[virtual]

Destructor

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.


Generated by: bms on anglepoise.lon.incunabulum.net on Wed Jul 23 10:05:50 2008, using kdoc 2.0a54+XORP.