class XorpShellBase

XorpShellBase base class. More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Types

Public Methods


Detailed Description

The XorpShellBase class contains pure virtual methods and is used to define the interface a router manager client like xorpsh should implement. It is used as a base class by other classes (e.g., XorpShell) which contain the real implementation.

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

GENERIC_CALLBACK

typedef XorpCallback2<void, bool, string>::RefPtr CallBack

CallBack

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

GET_USERS_CALLBACK

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

PID_CALLBACK

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

LOCK_CALLBACK

 ~XorpShellBase ()

~XorpShellBase

[virtual]

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

Mode

EventLoop&  eventloop ()

eventloop

[pure virtual]

OpCommandList*  op_cmd_list ()

op_cmd_list

[pure virtual]

SlaveConfigTree*  config_tree ()

config_tree

[pure virtual]

TemplateTree*  template_tree ()

template_tree

[pure virtual]

uint32_t  clientid ()

clientid

[const pure virtual]

uint32_t  rtrmgr_pid ()

rtrmgr_pid

[const pure virtual]

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

commit_changes

[pure virtual]

bool  enter_config_mode (bool exclusive, GENERIC_CALLBACK cb)

enter_config_mode

[pure virtual]

bool  get_config_users (GET_USERS_CALLBACK cb)

get_config_users

[pure virtual]

bool  get_rtrmgr_pid (PID_CALLBACK cb)

get_rtrmgr_pid

[pure virtual]

bool  leave_config_mode (GENERIC_CALLBACK cb)

leave_config_mode

[pure virtual]

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

load_from_file

[pure virtual]

bool  lock_config (LOCK_CALLBACK cb)

lock_config

[pure virtual]

bool  save_to_file (const string& filename, GENERIC_CALLBACK cb, CallBack final_cb)

save_to_file

[pure virtual]

void  set_mode (Mode mode)

set_mode

[pure virtual]

bool  unlock_config (GENERIC_CALLBACK cb)

unlock_config

[pure virtual]


Generated by: bms on anglepoise.lon.incunabulum.net on Wed Jul 23 10:06:10 2008, using kdoc 2.0a54+XORP.