| 
 | 
 | ||||||||||||||||
| Module (ModuleManager& mmgr, const string& name, const string& path,
	   const string& expath, bool verbose) | Module | 
Constructor.
Parameters:
| mmgr | the module manager (ModuleManager) to use. | 
| name | the module name. | 
| path | the path to the executable program for this module. | 
| expath | the expanded absolute path to the executable program for this module. | 
| verbose | if true, then output trace messages. | 
| ~Module () | ~Module | 
| void  new_status (ModuleStatus new_status) | new_status | 
Set new status for the module.
Parameters:
| new_status | the new status for the module. | 
Reimplemented from GenericModule.
| string  str () | str | 
[const]
Convert the module information to a string.
Returns: a string with the module information.
Reimplemented from GenericModule.
| ModuleManager&  module_manager () | module_manager | 
[const]
Get a reference to the module manager (ModuleManager).
Returns: a reference to the module manager.
| const string&  expath () | expath | 
[const]
Get the expanded absolute path to the executable program.
Returns: the expanded absolute path to the executable program.
| int  execute (bool do_exec, bool is_verification,
		XorpCallback1<void, bool>::RefPtr cb) | execute | 
Execute the module.
Parameters:
| do_exec | if true then indeed execute the executable program, otherwise just process the execution machinery. | 
Returns: XORP_OK on success, otherwise XORP_ERROR.
| int  restart () | restart | 
Restart the module.
Returns: XORP_OK on success, otherwise XORP_ERROR.
| void  terminate (XorpCallback0<void>::RefPtr cb) | terminate | 
Terminate the module.
Parameters:
| cb | the callback to execute after the module is terminated. | 
| void  terminate_with_prejudice (XorpCallback0<void>::RefPtr cb) | terminate_with_prejudice | 
Terminate the module with prejudice.
Parameters:
| cb | the callback to execute after the module is terminated. | 
| void  module_exited (bool success, bool is_signal_terminated,
		       int term_signal, bool is_coredumped) | module_exited | 
A method called when the corresponding process has exited.
Parameters:
| success | if true, the exit status of the process indicates success, otherwise failure. | 
| is_signal_terminated | if true the process has been terminated by a signal. | 
| term_signal | if is_signal_terminated is true, this contains the terminating signal. | 
| is_coredumped | if true the process has generated a coredump. | 
| void  module_stopped (int stop_signal) | module_stopped | 
A method called when the corresponding process has been stopped.
Parameters:
| stop_signal | the signal that has stopped the process. |