class Task


 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Types

Public Methods

Protected Methods


Detailed Description

typedef XorpCallback2<void, bool, string>::RefPtr CallBack

CallBack

 Task (const string& name, TaskManager& taskmgr)

Task

 ~Task ()

~Task

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  add_program (const UnexpandedProgram& program, TaskProgramItem::ProgramCallback program_cb)

add_program

void  set_ready_validation (Validation* validation)

set_ready_validation

Validation*  ready_validation ()

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

bool  do_exec ()

do_exec

[const]

bool  is_verification ()

is_verification

[const]

XorpClient&  xorp_client ()

xorp_client

[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:

vthe execution ID.
const string&  name ()

name

[const]

EventLoop&  eventloop ()

eventloop

[const]

bool  verbose ()

verbose

[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 kobe.xorp.net on Wed Jan 7 19:11:12 2009, using kdoc 2.0a54+XORP.