ProgramStatusValidation Class Reference

Inheritance diagram for ProgramStatusValidation:
Validation ProgramStatusConfigMeValidation ProgramStatusReadyValidation ProgramStatusShutdownValidation ProgramStatusStartupValidation

List of all members.

Public Member Functions

 ProgramStatusValidation (const string &module_name, const ProgramAction &program_action, TaskManager &taskmgr)
void validate (RunShellCommand::ExecId exec_id, CallBack cb)

Protected Member Functions

virtual void handle_status_response (bool success, const string &stdout_output, const string &stderr_output)=0
EventLoopeventloop ()

Protected Attributes

const ProgramAction_program_action
CallBack _cb

Private Member Functions

void stdout_cb (RunShellCommand *run_command, const string &output)
void stderr_cb (RunShellCommand *run_command, const string &output)
void done_cb (RunShellCommand *run_command, bool success, const string &error_msg)
void execute_done (bool success)

Private Attributes

string _command_stdout
string _command_stderr
XorpTimer _delay_timer

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