class FeaIo

FEA (Forwarding Engine Abstraction) I/O class. More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods

Protected Methods


Detailed Description

 FeaIo (EventLoop& eventloop)

FeaIo

Constructor.

Parameters:

eventloopthe event loop to use.
 ~FeaIo ()

~FeaIo

[virtual]

Destructor

int  startup ()

startup

Startup the service operation.

Returns: XORP_OK on success, otherwise XORP_ERROR.

int  shutdown ()

shutdown

Shutdown the service operation.

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.

EventLoop&  eventloop ()

eventloop

Get the event loop this service is added to.

Returns: the event loop this service is added to.

int  add_instance_watch (const string& instance_name, InstanceWatcher* instance_watcher, string& error_msg)

add_instance_watch

[virtual]

Add a watcher for the status of a component instance.

Parameters:

instance_namethe name of the instance to watch.
instance_watcherthe watcher that tracks the status of the instance.
error_msgthe error message (if error).

Returns: XORP_OK on success, otherwise XORP_ERROR.

int  delete_instance_watch (const string& instance_name, InstanceWatcher* instance_watcher, string& error_msg)

delete_instance_watch

[virtual]

Delete a watcher for the status of a component instance.

Parameters:

instance_namethe name of the instance to stop watching.
instance_watcherthe watcher that tracks the status of the instance.
error_msgthe error message (if error).

Returns: XORP_OK on success, otherwise XORP_ERROR.

void  instance_birth (const string& instance_name)

instance_birth

[virtual]

A component instance has been born.

Parameters:

instance_namethe name of the instance that is born.
void  instance_death (const string& instance_name)

instance_death

[virtual]

A component instance has died.

Parameters:

instance_namethe name of the instance that has died.
int  register_instance_event_interest (const string& instance_name, string& error_msg)

register_instance_event_interest

[protected pure virtual]

Register interest in events relating to a particular instance.

Parameters:

instance_namename of target instance to receive event notifications for.
error_msgthe error message (if error).

Returns: XORP_OK on success, otherwise XORP_ERROR.

int  deregister_instance_event_interest (const string& instance_name, string& error_msg)

deregister_instance_event_interest

[protected pure virtual]

Deregister interest in events relating to a particular instance.

Parameters:

instance_namename of target instance to stop event notifications for.
error_msgthe error message (if error).

Returns: XORP_OK on success, otherwise XORP_ERROR.


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