xorp

TestService Class Reference

Inheritance diagram for TestService:
ServiceBase BugCatcher

List of all members.

Public Member Functions

 TestService (EventLoop &e)
int startup ()
 Start service.
int shutdown ()
 Shutdown service.

Protected Member Functions

void go_running ()
void go_shutdown ()

Protected Attributes

EventLoop_e
XorpTimer _xt

Member Function Documentation

int TestService::shutdown ( ) [inline, virtual]

Shutdown service.

Service should transition from SERVICE_RUNNING to SERVICE_SHUTTING_DOWN immediately and onto SERVICE_SHUTDOWN or SERVICE_FAILED in the near future.

Returns:
XORP_OK on success, otherwise XORP_ERROR.

Implements ServiceBase.

int TestService::startup ( ) [inline, virtual]

Start service.

Service should transition from SERVICE_READY to SERVICE_STARTING immediately and onto SERVICE_RUNNING or SERVICE_FAILED in the near future.

Returns:
XORP_OK on success, otherwise XORP_ERROR.

Implements ServiceBase.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations