class Module


 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Types

Public Methods


Detailed Description

 Module (ModuleManager& mmgr, const string& name, bool verbose)

Module

 ~Module ()

~Module

enum ModuleStatus { MODULE_STARTUP = 0, MODULE_INITIALIZING = 1, MODULE_RUNNING = 2, MODULE_FAILED = 3, MODULE_STALLED = 4, MODULE_SHUTTING_DOWN = 5, MODULE_NOT_STARTED = 6 }

ModuleStatus

int  set_execution_path (const string& path)

set_execution_path

void  set_argv (const vector<string>& argv)

set_argv

void  set_userid (uid_t userid)

set_userid

int  run (bool do_exec, XorpCallback1<void, bool>::RefPtr cb)

run

void  module_run_done (bool success)

module_run_done

void  set_stalled ()

set_stalled

void  normal_exit ()

normal_exit

void  abnormal_exit (int child_wait_status)

abnormal_exit

void  killed ()

killed

string  str ()

str

[const]

ModuleStatus  status ()

status

[const]

void  terminate (XorpCallback0<void>::RefPtr cb)

terminate

void  terminate_with_prejudice (XorpCallback0<void>::RefPtr cb)

terminate_with_prejudice


Generated by: pavlin on possum.icir.org on Thu Jul 8 23:48:41 2004, using kdoc $.