Public Types
- typedef XorpCallback2<void, bool, string>::RefPtr CallBack
Public Methods
- Task (const string& name, TaskManager& taskmgr)
- ~Task ()
- void start_module (const string& mod_name, Validation* startup_validation,
Validation* config_validation, Startup* startup)
- void shutdown_module (const string& mod_name, Validation* validation,
Shutdown* shutdown)
- void add_xrl (const UnexpandedXrl& xrl, XrlRouter::XrlCallback& cb)
- void add_program (const UnexpandedProgram& program,
TaskProgramItem::ProgramCallback program_cb)
- void set_ready_validation (Validation* validation)
- Validation* ready_validation () const
- bool will_shutdown_module () const
- void run (CallBack cb)
- void item_done (bool success, bool fatal, string errmsg)
- bool do_exec () const
- bool is_verification () const
- XorpClient& xorp_client () const
- const RunShellCommand::ExecId& exec_id () const
- void set_exec_id (const RunShellCommand::ExecId& v)
- const string& name () const
- EventLoop& eventloop () const
- bool verbose () const
Protected Methods
typedef XorpCallback2<void, bool, string>::RefPtr CallBack | CallBack |
void start_module (const string& mod_name, Validation* startup_validation,
Validation* config_validation, Startup* startup)
| start_module |
void shutdown_module (const string& mod_name, Validation* validation,
Shutdown* shutdown)
| shutdown_module |
void add_xrl (const UnexpandedXrl& xrl, XrlRouter::XrlCallback& cb)
| add_xrl |
void set_ready_validation (Validation* validation)
| set_ready_validation |
[const]
bool will_shutdown_module ()
| will_shutdown_module |
[const]
void run (CallBack cb)
| run |
void item_done (bool success, bool fatal, string errmsg)
| item_done |
[const]
bool is_verification ()
| is_verification |
[const]
[const]
const RunShellCommand::ExecId& exec_id ()
| exec_id |
[const]
Get a reference to the ExecId object.
Returns: a reference to the ExecId object that is used
for setting the execution ID when running the task.
void set_exec_id (const RunShellCommand::ExecId& v)
| set_exec_id |
Set the execution ID for executing the task.
Parameters:
const string& name ()
| name |
[const]
[const]
[const]
void step1_start ()
| step1_start |
[protected]
void step1_done (bool success)
| step1_done |
[protected]
void step2_wait ()
| step2_wait |
[protected]
void step2_done (bool success)
| step2_done |
[protected]
void step2_2_wait ()
| step2_2_wait |
[protected]
void step2_2_done (bool success)
| step2_2_done |
[protected]
void step2_3_wait ()
| step2_3_wait |
[protected]
void step2_3_done (bool success)
| step2_3_done |
[protected]
void step3_config ()
| step3_config |
[protected]
void step3_done (bool success)
| step3_done |
[protected]
void step4_wait ()
| step4_wait |
[protected]
void step4_done (bool success)
| step4_done |
[protected]
void step5_stop ()
| step5_stop |
[protected]
void step5_done (bool success)
| step5_done |
[protected]
void step6_wait ()
| step6_wait |
[protected]
void step6_done (bool success)
| step6_done |
[protected]
void step7_wait ()
| step7_wait |
[protected]
void step7_kill ()
| step7_kill |
[protected]
void step8_report ()
| step8_report |
[protected]
void task_fail (string errmsg, bool fatal)
| task_fail |
[protected]
Generated by: pavlin on possum.icir.org on Wed Mar 21 11:24:12 2007, using kdoc $.