class XorpShell


Definition#include <xorpsh_main.hh>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Types

Public Methods


Detailed Description

 XorpShell (const string& IPCname, const string& xorp_root_dir, const string& config_template_dir, const string& xrl_dir)

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  receive_config (const XrlError& e, 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  config_changed (uid_t user_id, const string& deltas, const string& deletions)

config_changed

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

OpCommandListop_cmd_list ()

op_cmd_list

XorpClient&  xorp_client ()

xorp_client

const string&  xorp_root_dir ()

xorp_root_dir

[const]

uint32_t  rtrmgr_pid ()

rtrmgr_pid

[const]


Generated by: pavlin on possum.icir.org on Thu Nov 6 23:47:10 2003, using kdoc 2.0a54+XORP.