xorp

XrlRtrmgrV0p1Client Class Reference

List of all members.

Public Types

typedef XorpCallback2< void,
const XrlError &, const
uint32_t * >::RefPtr 
GetPidCB
typedef XorpCallback4< void,
const XrlError &, const string
*, const uint32_t *, const
uint32_t * >::RefPtr 
RegisterClientCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
UnregisterClientCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
AuthenticateClientCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
EnterConfigModeCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
LeaveConfigModeCB
typedef XorpCallback2< void,
const XrlError &, const
XrlAtomList * >::RefPtr 
GetConfigUsersCB
typedef XorpCallback3< void,
const XrlError &, const bool
*, const string * >::RefPtr 
GetRunningConfigCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
ApplyConfigChangeCB
typedef XorpCallback3< void,
const XrlError &, const bool
*, const uint32_t * >::RefPtr 
LockConfigCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
UnlockConfigCB
typedef XorpCallback3< void,
const XrlError &, const bool
*, const uint32_t * >::RefPtr 
LockNodeCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
UnlockNodeCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
SaveConfigCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
LoadConfigCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
SetConfigDirectoryCB
typedef XorpCallback2< void,
const XrlError &, const
uint32_t * >::RefPtr 
GetPidCB
typedef XorpCallback4< void,
const XrlError &, const string
*, const uint32_t *, const
uint32_t * >::RefPtr 
RegisterClientCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
UnregisterClientCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
AuthenticateClientCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
EnterConfigModeCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
LeaveConfigModeCB
typedef XorpCallback2< void,
const XrlError &, const
XrlAtomList * >::RefPtr 
GetConfigUsersCB
typedef XorpCallback3< void,
const XrlError &, const bool
*, const string * >::RefPtr 
GetRunningConfigCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
ApplyConfigChangeCB
typedef XorpCallback3< void,
const XrlError &, const bool
*, const uint32_t * >::RefPtr 
LockConfigCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
UnlockConfigCB
typedef XorpCallback3< void,
const XrlError &, const bool
*, const uint32_t * >::RefPtr 
LockNodeCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
UnlockNodeCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
SaveConfigCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
LoadConfigCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
SetConfigDirectoryCB

Public Member Functions

 XrlRtrmgrV0p1Client (XrlSender *s)
bool send_get_pid (const char *dst_xrl_target_name, const GetPidCB &cb)
bool send_register_client (const char *dst_xrl_target_name, const uint32_t &userid, const string &clientname, const RegisterClientCB &cb)
 Send Xrl intended to:
bool send_unregister_client (const char *dst_xrl_target_name, const string &token, const UnregisterClientCB &cb)
bool send_authenticate_client (const char *dst_xrl_target_name, const uint32_t &userid, const string &clientname, const string &token, const AuthenticateClientCB &cb)
bool send_enter_config_mode (const char *dst_xrl_target_name, const string &token, const bool &exclusive, const EnterConfigModeCB &cb)
bool send_leave_config_mode (const char *dst_xrl_target_name, const string &token, const LeaveConfigModeCB &cb)
bool send_get_config_users (const char *dst_xrl_target_name, const string &token, const GetConfigUsersCB &cb)
bool send_get_running_config (const char *dst_xrl_target_name, const string &token, const GetRunningConfigCB &cb)
bool send_apply_config_change (const char *dst_xrl_target_name, const string &token, const string &target, const string &deltas, const string &deletions, const ApplyConfigChangeCB &cb)
bool send_lock_config (const char *dst_xrl_target_name, const string &token, const uint32_t &timeout, const LockConfigCB &cb)
bool send_unlock_config (const char *dst_xrl_target_name, const string &token, const UnlockConfigCB &cb)
bool send_lock_node (const char *dst_xrl_target_name, const string &token, const string &node, const uint32_t &timeout, const LockNodeCB &cb)
bool send_unlock_node (const char *dst_xrl_target_name, const string &token, const string &node, const UnlockNodeCB &cb)
bool send_save_config (const char *dst_xrl_target_name, const string &token, const string &target, const string &filename, const SaveConfigCB &cb)
bool send_load_config (const char *dst_xrl_target_name, const string &token, const string &target, const string &filename, const LoadConfigCB &cb)
bool send_set_config_directory (const char *dst_xrl_target_name, const string &config_directory, const SetConfigDirectoryCB &cb)
 Send Xrl intended to:
 XrlRtrmgrV0p1Client (XrlSender *s)
bool send_get_pid (const char *dst_xrl_target_name, const GetPidCB &cb)
bool send_register_client (const char *dst_xrl_target_name, const uint32_t &userid, const string &clientname, const RegisterClientCB &cb)
 Send Xrl intended to:
bool send_unregister_client (const char *dst_xrl_target_name, const string &token, const UnregisterClientCB &cb)
bool send_authenticate_client (const char *dst_xrl_target_name, const uint32_t &userid, const string &clientname, const string &token, const AuthenticateClientCB &cb)
bool send_enter_config_mode (const char *dst_xrl_target_name, const string &token, const bool &exclusive, const EnterConfigModeCB &cb)
bool send_leave_config_mode (const char *dst_xrl_target_name, const string &token, const LeaveConfigModeCB &cb)
bool send_get_config_users (const char *dst_xrl_target_name, const string &token, const GetConfigUsersCB &cb)
bool send_get_running_config (const char *dst_xrl_target_name, const string &token, const GetRunningConfigCB &cb)
bool send_apply_config_change (const char *dst_xrl_target_name, const string &token, const string &target, const string &deltas, const string &deletions, const ApplyConfigChangeCB &cb)
bool send_lock_config (const char *dst_xrl_target_name, const string &token, const uint32_t &timeout, const LockConfigCB &cb)
bool send_unlock_config (const char *dst_xrl_target_name, const string &token, const UnlockConfigCB &cb)
bool send_lock_node (const char *dst_xrl_target_name, const string &token, const string &node, const uint32_t &timeout, const LockNodeCB &cb)
bool send_unlock_node (const char *dst_xrl_target_name, const string &token, const string &node, const UnlockNodeCB &cb)
bool send_save_config (const char *dst_xrl_target_name, const string &token, const string &target, const string &filename, const SaveConfigCB &cb)
bool send_load_config (const char *dst_xrl_target_name, const string &token, const string &target, const string &filename, const LoadConfigCB &cb)
bool send_set_config_directory (const char *dst_xrl_target_name, const string &config_directory, const SetConfigDirectoryCB &cb)
 Send Xrl intended to:

Protected Attributes

XrlSender_sender

Static Private Member Functions

static void unmarshall_get_pid (const XrlError &e, XrlArgs *a, GetPidCB cb)
static void unmarshall_register_client (const XrlError &e, XrlArgs *a, RegisterClientCB cb)
static void unmarshall_unregister_client (const XrlError &e, XrlArgs *a, UnregisterClientCB cb)
static void unmarshall_authenticate_client (const XrlError &e, XrlArgs *a, AuthenticateClientCB cb)
static void unmarshall_enter_config_mode (const XrlError &e, XrlArgs *a, EnterConfigModeCB cb)
static void unmarshall_leave_config_mode (const XrlError &e, XrlArgs *a, LeaveConfigModeCB cb)
static void unmarshall_get_config_users (const XrlError &e, XrlArgs *a, GetConfigUsersCB cb)
static void unmarshall_get_running_config (const XrlError &e, XrlArgs *a, GetRunningConfigCB cb)
static void unmarshall_apply_config_change (const XrlError &e, XrlArgs *a, ApplyConfigChangeCB cb)
static void unmarshall_lock_config (const XrlError &e, XrlArgs *a, LockConfigCB cb)
static void unmarshall_unlock_config (const XrlError &e, XrlArgs *a, UnlockConfigCB cb)
static void unmarshall_lock_node (const XrlError &e, XrlArgs *a, LockNodeCB cb)
static void unmarshall_unlock_node (const XrlError &e, XrlArgs *a, UnlockNodeCB cb)
static void unmarshall_save_config (const XrlError &e, XrlArgs *a, SaveConfigCB cb)
static void unmarshall_load_config (const XrlError &e, XrlArgs *a, LoadConfigCB cb)
static void unmarshall_set_config_directory (const XrlError &e, XrlArgs *a, SetConfigDirectoryCB cb)
static void unmarshall_get_pid (const XrlError &e, XrlArgs *a, GetPidCB cb)
static void unmarshall_register_client (const XrlError &e, XrlArgs *a, RegisterClientCB cb)
static void unmarshall_unregister_client (const XrlError &e, XrlArgs *a, UnregisterClientCB cb)
static void unmarshall_authenticate_client (const XrlError &e, XrlArgs *a, AuthenticateClientCB cb)
static void unmarshall_enter_config_mode (const XrlError &e, XrlArgs *a, EnterConfigModeCB cb)
static void unmarshall_leave_config_mode (const XrlError &e, XrlArgs *a, LeaveConfigModeCB cb)
static void unmarshall_get_config_users (const XrlError &e, XrlArgs *a, GetConfigUsersCB cb)
static void unmarshall_get_running_config (const XrlError &e, XrlArgs *a, GetRunningConfigCB cb)
static void unmarshall_apply_config_change (const XrlError &e, XrlArgs *a, ApplyConfigChangeCB cb)
static void unmarshall_lock_config (const XrlError &e, XrlArgs *a, LockConfigCB cb)
static void unmarshall_unlock_config (const XrlError &e, XrlArgs *a, UnlockConfigCB cb)
static void unmarshall_lock_node (const XrlError &e, XrlArgs *a, LockNodeCB cb)
static void unmarshall_unlock_node (const XrlError &e, XrlArgs *a, UnlockNodeCB cb)
static void unmarshall_save_config (const XrlError &e, XrlArgs *a, SaveConfigCB cb)
static void unmarshall_load_config (const XrlError &e, XrlArgs *a, LoadConfigCB cb)
static void unmarshall_set_config_directory (const XrlError &e, XrlArgs *a, SetConfigDirectoryCB cb)

Private Attributes

auto_ptr< Xrlap_xrl_get_pid
auto_ptr< Xrlap_xrl_register_client
auto_ptr< Xrlap_xrl_unregister_client
auto_ptr< Xrlap_xrl_authenticate_client
auto_ptr< Xrlap_xrl_enter_config_mode
auto_ptr< Xrlap_xrl_leave_config_mode
auto_ptr< Xrlap_xrl_get_config_users
auto_ptr< Xrlap_xrl_get_running_config
auto_ptr< Xrlap_xrl_apply_config_change
auto_ptr< Xrlap_xrl_lock_config
auto_ptr< Xrlap_xrl_unlock_config
auto_ptr< Xrlap_xrl_lock_node
auto_ptr< Xrlap_xrl_unlock_node
auto_ptr< Xrlap_xrl_save_config
auto_ptr< Xrlap_xrl_load_config
auto_ptr< Xrlap_xrl_set_config_directory

Member Function Documentation

bool XrlRtrmgrV0p1Client::send_register_client ( const char *  dst_xrl_target_name,
const uint32_t &  userid,
const string &  clientname,
const RegisterClientCB &  cb 
)

Send Xrl intended to:

Register a user and client process with the rtrmgr.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
clientnamename of xrl entity supporting rtrmgr_client.xif methods.
bool XrlRtrmgrV0p1Client::send_register_client ( const char *  dst_xrl_target_name,
const uint32_t &  userid,
const string &  clientname,
const RegisterClientCB &  cb 
)

Send Xrl intended to:

Register a user and client process with the rtrmgr.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
clientnamename of xrl entity supporting rtrmgr_client.xif methods.
bool XrlRtrmgrV0p1Client::send_set_config_directory ( const char *  dst_xrl_target_name,
const string &  config_directory,
const SetConfigDirectoryCB &  cb 
)

Send Xrl intended to:

Set the name of the directory with the configuration files.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
config_directorythe name of the directory with the configuration files.
bool XrlRtrmgrV0p1Client::send_set_config_directory ( const char *  dst_xrl_target_name,
const string &  config_directory,
const SetConfigDirectoryCB &  cb 
)

Send Xrl intended to:

Set the name of the directory with the configuration files.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
config_directorythe name of the directory with the configuration files.

The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations