Public Types
Public Methods
- ModuleManager (EventLoop& eventloop, Rtrmgr& rtrmgr,
bool do_restart, bool verbose,
const string& xorp_root_dir)
- ~ModuleManager ()
- bool new_module (const string& module_name, const string& path,
string& error_msg)
- int start_module (const string& module_name, bool do_exec,
bool is_verification,
XorpCallback1<void, bool>::RefPtr cb)
- int kill_module (const string& module_name,
XorpCallback0<void>::RefPtr cb)
- bool module_is_running (const string& module_name) const
- bool module_has_started (const string& module_name) const
- void shutdown ()
- void module_shutdown_cb (string module_name)
- bool is_shutdown_completed () const
- void module_status_changed (const string& module_name,
Module::ModuleStatus old_status,
Module::ModuleStatus new_status)
- list<string> get_module_names () const
- list<Module *> find_running_modules_by_path (const string& expath)
- int execute_process (const string& expath, string& error_msg)
- void process_exited (const string& expath, bool success,
bool is_signal_terminated, int term_signal,
bool is_coredumped)
- void process_stopped (const string& expath, int stop_signal)
- ModuleManager::Process* find_process_by_path (const string& expath)
- const string& xorp_root_dir () const
- MasterConfigTree* master_config_tree () const
- void set_master_config_tree (MasterConfigTree* v)
- bool do_restart () const
ModuleManager (EventLoop& eventloop, Rtrmgr& rtrmgr,
bool do_restart, bool verbose,
const string& xorp_root_dir)
| ModuleManager |
~ModuleManager ()
| ~ModuleManager |
bool new_module (const string& module_name, const string& path,
string& error_msg)
| new_module |
int start_module (const string& module_name, bool do_exec,
bool is_verification,
XorpCallback1<void, bool>::RefPtr cb)
| start_module |
int kill_module (const string& module_name,
XorpCallback0<void>::RefPtr cb)
| kill_module |
bool module_is_running (const string& module_name)
| module_is_running |
[const]
bool module_has_started (const string& module_name)
| module_has_started |
[const]
void shutdown ()
| shutdown |
void module_shutdown_cb (string module_name)
| module_shutdown_cb |
bool is_shutdown_completed ()
| is_shutdown_completed |
[const]
void module_status_changed (const string& module_name,
Module::ModuleStatus old_status,
Module::ModuleStatus new_status)
| module_status_changed |
list<string> get_module_names ()
| get_module_names |
[const]
list<Module *> find_running_modules_by_path (const string& expath)
| find_running_modules_by_path |
int execute_process (const string& expath, string& error_msg)
| execute_process |
void process_exited (const string& expath, bool success,
bool is_signal_terminated, int term_signal,
bool is_coredumped)
| process_exited |
void process_stopped (const string& expath, int stop_signal)
| process_stopped |
const string& xorp_root_dir ()
| xorp_root_dir |
[const]
[const]
bool do_restart ()
| do_restart |
[const]
Test if processes that have failed should be restarted.
Returns: true if failed processes should be restarted, otherwise false.
Generated by: pavlin on possum.icir.org on Thu Mar 9 04:43:58 2006, using kdoc $.