class XorpShell


 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Types

Public Methods


Detailed Description

 XorpShell (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 ()

run

enum Mode { MODE_AUTHENTICATING, MODE_INITIALIZING, MODE_IDLE, MODE_COMMITTING, MODE_LOADING, MODE_SHUTDOWN }

Mode

void  set_mode (Mode mode)

set_mode

void  register_done (const XrlError& e, const string* token, const uint32_t* pid)

register_done

void  generic_done (const XrlError& e)

generic_done

void  request_config ()

request_config

void  receive_config (const XrlError& e, const bool* ready, const string* config)

receive_config

typedef XorpCallback1<void, const XrlError&>::RefPtr GENERIC_CALLBACK

GENERIC_CALLBACK

void  enter_config_mode (bool exclusive, GENERIC_CALLBACK cb)

enter_config_mode

void  leave_config_mode (GENERIC_CALLBACK cb)

leave_config_mode

typedef XorpCallback3<void, const XrlError&, const bool*, const uint32_t*>::RefPtr LOCK_CALLBACK

LOCK_CALLBACK

void  lock_config (LOCK_CALLBACK cb)

lock_config

void  commit_changes (const string& deltas, const string& deletions, GENERIC_CALLBACK cb, CallBack final_cb)

commit_changes

void  commit_done (bool success, const string& errmsg)

commit_done

void  unlock_config (GENERIC_CALLBACK cb)

unlock_config

typedef XorpCallback2<void, const XrlError&, const XrlAtomList*>::RefPtr GET_USERS_CALLBACK

GET_USERS_CALLBACK

void  get_config_users (GET_USERS_CALLBACK cb)

get_config_users

void  new_config_user (uid_t user_id)

new_config_user

void  save_to_file (const string& filename, GENERIC_CALLBACK cb)

save_to_file

void  load_from_file (const string& filename, GENERIC_CALLBACK cb, CallBack final_cb)

load_from_file

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& modname, GenericModule::ModuleStatus status)

module_status_change

typedef XorpCallback2<void, const XrlError&, const uint32_t*>::RefPtr PID_CALLBACK

PID_CALLBACK

void  get_rtrmgr_pid (PID_CALLBACK cb)

get_rtrmgr_pid

EventLoop&  eventloop ()

eventloop

SlaveConfigTree*  config_tree ()

config_tree

TemplateTree*  template_tree ()

template_tree

OpCommandList*  op_cmd_list ()

op_cmd_list

XorpClient&  xorp_client ()

xorp_client

const string&  xorp_root_dir ()

xorp_root_dir

[const]

bool  verbose ()

verbose

[const]

uint32_t  rtrmgr_pid ()

rtrmgr_pid

[const]


Generated by: pavlin on possum.icir.org on Wed Apr 13 21:53:23 2005, using kdoc $.