ModuleCommand (TemplateTree& template_tree,
TemplateTreeNode& template_tree_node,
const string& cmd_name)
| ModuleCommand |
~ModuleCommand ()
| ~ModuleCommand |
void add_action (const list<string>& action,
const XRLdb& xrldb)
throw (ParseError) | add_action |
Reimplemented from Command.
bool expand_actions (string& error_msg)
| expand_actions |
[virtual]
Reimplemented from Command.
bool check_referred_variables (string& error_msg)
| check_referred_variables |
[const virtual]
Reimplemented from Command.
Validation* startup_validation (TaskManager& taskmgr)
| startup_validation |
[const]
Validation* config_validation (TaskManager& taskmgr)
| config_validation |
[const]
Validation* ready_validation (TaskManager& taskmgr)
| ready_validation |
[const]
Validation* shutdown_validation (TaskManager& taskmgr)
| shutdown_validation |
[const]
Startup* startup_method (TaskManager& taskmgr)
| startup_method |
[const]
Shutdown* shutdown_method (TaskManager& taskmgr)
| shutdown_method |
[const]
const string& module_name ()
| module_name |
[const]
const string& module_exec_path ()
| module_exec_path |
[const]
const list<string>& depends ()
| depends |
[const]
int start_transaction (MasterConfigTreeNode& ctn,
TaskManager& task_manager)
| start_transaction |
[const]
int end_transaction (MasterConfigTreeNode& ctn,
TaskManager& task_manager)
| end_transaction |
[const]
string str ()
| str |
[const]
Reimplemented from Command.
typedef XorpCallback3<void, bool, const string&, const string&>::RefPtr ProgramCallback | ProgramCallback |
void xrl_action_complete (const XrlError& err,
XrlArgs* xrl_args,
MasterConfigTreeNode *ctn,
Action *action,
string cmd)
| xrl_action_complete |
[protected const]
Reimplemented from Command.
void program_action_complete (bool success,
const string& stdout_output,
const string& stderr_output,
bool do_exec,
MasterConfigTreeNode *ctn,
Action *action,
string cmd)
| program_action_complete |
[protected const]
Reimplemented from Command.