class XorpShell


 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods


Detailed Description

 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

 ~XorpShell ()

~XorpShell

void  run (const string& command)

run

bool  done ()

done

[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

void  module_status_change (const string& module_name, GenericModule::ModuleStatus status)

module_status_change

bool  get_rtrmgr_pid (PID_CALLBACK cb)

get_rtrmgr_pid

Reimplemented from XorpShellBase.

EventLoop&  eventloop ()

eventloop

Reimplemented from XorpShellBase.

OpCommandList*  op_cmd_list ()

op_cmd_list

Reimplemented from XorpShellBase.

SlaveConfigTree*  config_tree ()

config_tree

Reimplemented from XorpShellBase.

TemplateTree*  template_tree ()

template_tree

Reimplemented from XorpShellBase.

uint32_t  clientid ()

clientid

[const]

Reimplemented from XorpShellBase.

uint32_t  rtrmgr_pid ()

rtrmgr_pid

[const]

Reimplemented from XorpShellBase.

XorpClient&  xorp_client ()

xorp_client

const string&  xorp_root_dir ()

xorp_root_dir

[const]

bool  verbose ()

verbose

[const]


Generated by: pavlin on possum.icir.org on Wed Aug 2 15:36:46 2006, using kdoc $.