Public Methods
- XorpShell (EventLoop& eventloop,
const string& IPCname,
const string& xorp_root_dir,
const string& config_template_dir,
const string& xrl_targets_dir,
bool verbose)
- ~XorpShell ()
- void run (const string& command)
- bool done () const
- void set_mode (Mode mode)
- void register_done (const XrlError& e, const string* token,
const uint32_t* pid, const uint32_t* clientid)
- void generic_done (const XrlError& e)
- bool request_config ()
- void receive_config (const XrlError& e, const bool* ready,
const string* config)
- bool enter_config_mode (bool exclusive, GENERIC_CALLBACK cb)
- bool leave_config_mode (GENERIC_CALLBACK cb)
- bool lock_config (LOCK_CALLBACK cb)
- void config_saved_done (bool success, const string& error_msg)
- bool commit_changes (const string& deltas, const string& deletions,
GENERIC_CALLBACK cb,
CallBack final_cb)
- void commit_done (bool success, const string& error_msg)
- bool unlock_config (GENERIC_CALLBACK cb)
- bool get_config_users (GET_USERS_CALLBACK cb)
- void new_config_user (uid_t user_id)
- bool save_to_file (const string& filename, GENERIC_CALLBACK cb,
CallBack final_cb)
- void save_lock_achieved (const XrlError& e, const bool* locked,
const uint32_t* lock_holder,
const string filename,
GENERIC_CALLBACK cb)
- bool load_from_file (const string& filename, GENERIC_CALLBACK cb,
CallBack final_cb)
- void load_lock_achieved (const XrlError& e, const bool* locked,
const uint32_t* lock_holder,
const string filename,
GENERIC_CALLBACK cb)
- void config_changed (uid_t user_id, const string& deltas,
const string& deletions)
- void module_status_change (const string& module_name,
GenericModule::ModuleStatus status)
- bool get_rtrmgr_pid (PID_CALLBACK cb)
- EventLoop& eventloop ()
- OpCommandList* op_cmd_list ()
- SlaveConfigTree* config_tree ()
- TemplateTree* template_tree ()
- uint32_t clientid () const
- uint32_t rtrmgr_pid () const
- XorpClient& xorp_client ()
- const string& xorp_root_dir () const
- bool verbose () const
XorpShell (EventLoop& eventloop,
const string& IPCname,
const string& xorp_root_dir,
const string& config_template_dir,
const string& xrl_targets_dir,
bool verbose)
throw (InitError) | XorpShell |
void run (const string& command)
| run |
[const]
void set_mode (Mode mode)
| set_mode |
Reimplemented from XorpShellBase.
void register_done (const XrlError& e, const string* token,
const uint32_t* pid, const uint32_t* clientid)
| register_done |
void generic_done (const XrlError& e)
| generic_done |
bool request_config ()
| request_config |
void receive_config (const XrlError& e, const bool* ready,
const string* config)
| receive_config |
bool enter_config_mode (bool exclusive, GENERIC_CALLBACK cb)
| enter_config_mode |
Reimplemented from XorpShellBase.
bool leave_config_mode (GENERIC_CALLBACK cb)
| leave_config_mode |
Reimplemented from XorpShellBase.
bool lock_config (LOCK_CALLBACK cb)
| lock_config |
Reimplemented from XorpShellBase.
void config_saved_done (bool success, const string& error_msg)
| config_saved_done |
bool commit_changes (const string& deltas, const string& deletions,
GENERIC_CALLBACK cb,
CallBack final_cb)
| commit_changes |
Reimplemented from XorpShellBase.
void commit_done (bool success, const string& error_msg)
| commit_done |
bool unlock_config (GENERIC_CALLBACK cb)
| unlock_config |
Reimplemented from XorpShellBase.
bool get_config_users (GET_USERS_CALLBACK cb)
| get_config_users |
Reimplemented from XorpShellBase.
void new_config_user (uid_t user_id)
| new_config_user |
bool save_to_file (const string& filename, GENERIC_CALLBACK cb,
CallBack final_cb)
| save_to_file |
Reimplemented from XorpShellBase.
void save_lock_achieved (const XrlError& e, const bool* locked,
const uint32_t* lock_holder,
const string filename,
GENERIC_CALLBACK cb)
| save_lock_achieved |
bool load_from_file (const string& filename, GENERIC_CALLBACK cb,
CallBack final_cb)
| load_from_file |
Reimplemented from XorpShellBase.
void load_lock_achieved (const XrlError& e, const bool* locked,
const uint32_t* lock_holder,
const string filename,
GENERIC_CALLBACK cb)
| load_lock_achieved |
void config_changed (uid_t user_id, const string& deltas,
const string& deletions)
| config_changed |
bool get_rtrmgr_pid (PID_CALLBACK cb)
| get_rtrmgr_pid |
Reimplemented from XorpShellBase.
Reimplemented from XorpShellBase.
Reimplemented from XorpShellBase.
Reimplemented from XorpShellBase.
Reimplemented from XorpShellBase.
uint32_t clientid ()
| clientid |
[const]
Reimplemented from XorpShellBase.
uint32_t rtrmgr_pid ()
| rtrmgr_pid |
[const]
Reimplemented from XorpShellBase.
const string& xorp_root_dir ()
| xorp_root_dir |
[const]
[const]
Generated by: pavlin on possum.icir.org on Wed Aug 2 15:36:46 2006, using kdoc $.