hce-node application  1.4.3
HCE Hierarchical Cluster Engine node application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
StatusHandler Class Reference

#include <StatusHandler.h>

Inheritance diagram for StatusHandler:
Collaboration diagram for StatusHandler:

Public Types

enum  State {
  RUN = 1, SUSPEND, STOP, SHUTDOWN,
  RESTART, RECOVER, NOTLOADED, LISTEN
}

Public Member Functions

 StatusHandler (AStorageHandler *statistic, State state=RUN)
State getState ()
bool recover ()
bool shutdown ()
bool restart ()
bool stop ()
bool suspend ()
bool run ()
void setState (State state)
void * handle (char command,...)
- Public Member Functions inherited from BaseHandler
 BaseHandler (unsigned int id)
virtual ~BaseHandler ()
unsigned int getId ()
void setError (int code, const char *description)
int getError (char **description)

Detailed Description

Definition at line 7 of file StatusHandler.h.

Member Enumeration Documentation

Enumerator:
RUN 
SUSPEND 
STOP 
SHUTDOWN 
RESTART 
RECOVER 
NOTLOADED 
LISTEN 

Definition at line 10 of file StatusHandler.h.

Constructor & Destructor Documentation

StatusHandler::StatusHandler ( AStorageHandler statistic,
State  state = RUN 
)
inline

Definition at line 14 of file StatusHandler.h.

Here is the call graph for this function:

Member Function Documentation

State StatusHandler::getState ( )
inline

Definition at line 18 of file StatusHandler.h.

void* StatusHandler::handle ( char  command,
  ... 
)
inlinevirtual

Implements BaseHandler.

Definition at line 31 of file StatusHandler.h.

Here is the call graph for this function:

bool StatusHandler::recover ( )
inline

Definition at line 19 of file StatusHandler.h.

bool StatusHandler::restart ( )
inline

Definition at line 21 of file StatusHandler.h.

bool StatusHandler::run ( )
inline

Definition at line 24 of file StatusHandler.h.

void StatusHandler::setState ( State  state)
inline

Definition at line 25 of file StatusHandler.h.

Here is the call graph for this function:

bool StatusHandler::shutdown ( void  )
inline

Definition at line 20 of file StatusHandler.h.

bool StatusHandler::stop ( )
inline

Definition at line 22 of file StatusHandler.h.

bool StatusHandler::suspend ( )
inline

Definition at line 23 of file StatusHandler.h.


The documentation for this class was generated from the following file: