xorp

XrlProfileV0p1Client Class Reference

List of all members.

Public Types

typedef XorpCallback1< void,
const XrlError & >::RefPtr 
EnableCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
DisableCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
GetEntriesCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
ClearCB
typedef XorpCallback2< void,
const XrlError &, const string * >
::RefPtr 
ListCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
EnableCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
DisableCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
GetEntriesCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
ClearCB
typedef XorpCallback2< void,
const XrlError &, const string * >
::RefPtr 
ListCB

Public Member Functions

 XrlProfileV0p1Client (XrlSender *s)
bool send_enable (const char *dst_xrl_target_name, const string &pname, const EnableCB &cb)
 Send Xrl intended to:
bool send_disable (const char *dst_xrl_target_name, const string &pname, const DisableCB &cb)
 Send Xrl intended to:
bool send_get_entries (const char *dst_xrl_target_name, const string &pname, const string &instance_name, const GetEntriesCB &cb)
 Send Xrl intended to:
bool send_clear (const char *dst_xrl_target_name, const string &pname, const ClearCB &cb)
 Send Xrl intended to:
bool send_list (const char *dst_xrl_target_name, const ListCB &cb)
 Send Xrl intended to:
 XrlProfileV0p1Client (XrlSender *s)
bool send_enable (const char *dst_xrl_target_name, const string &pname, const EnableCB &cb)
 Send Xrl intended to:
bool send_disable (const char *dst_xrl_target_name, const string &pname, const DisableCB &cb)
 Send Xrl intended to:
bool send_get_entries (const char *dst_xrl_target_name, const string &pname, const string &instance_name, const GetEntriesCB &cb)
 Send Xrl intended to:
bool send_clear (const char *dst_xrl_target_name, const string &pname, const ClearCB &cb)
 Send Xrl intended to:
bool send_list (const char *dst_xrl_target_name, const ListCB &cb)
 Send Xrl intended to:

Protected Attributes

XrlSender_sender

Static Private Member Functions

static void unmarshall_enable (const XrlError &e, XrlArgs *a, EnableCB cb)
static void unmarshall_disable (const XrlError &e, XrlArgs *a, DisableCB cb)
static void unmarshall_get_entries (const XrlError &e, XrlArgs *a, GetEntriesCB cb)
static void unmarshall_clear (const XrlError &e, XrlArgs *a, ClearCB cb)
static void unmarshall_list (const XrlError &e, XrlArgs *a, ListCB cb)
static void unmarshall_enable (const XrlError &e, XrlArgs *a, EnableCB cb)
static void unmarshall_disable (const XrlError &e, XrlArgs *a, DisableCB cb)
static void unmarshall_get_entries (const XrlError &e, XrlArgs *a, GetEntriesCB cb)
static void unmarshall_clear (const XrlError &e, XrlArgs *a, ClearCB cb)
static void unmarshall_list (const XrlError &e, XrlArgs *a, ListCB cb)

Private Attributes

auto_ptr< Xrlap_xrl_enable
auto_ptr< Xrlap_xrl_disable
auto_ptr< Xrlap_xrl_get_entries
auto_ptr< Xrlap_xrl_clear
auto_ptr< Xrlap_xrl_list

Member Function Documentation

bool XrlProfileV0p1Client::send_clear ( const char *  dst_xrl_target_name,
const string &  pname,
const ClearCB &  cb 
)

Send Xrl intended to:

Clear the profiling entries

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
pnameprofile variable
bool XrlProfileV0p1Client::send_clear ( const char *  dst_xrl_target_name,
const string &  pname,
const ClearCB &  cb 
)

Send Xrl intended to:

Clear the profiling entries

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
pnameprofile variable
bool XrlProfileV0p1Client::send_disable ( const char *  dst_xrl_target_name,
const string &  pname,
const DisableCB &  cb 
)

Send Xrl intended to:

Disable profiling

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
pnameprofile variable
bool XrlProfileV0p1Client::send_disable ( const char *  dst_xrl_target_name,
const string &  pname,
const DisableCB &  cb 
)

Send Xrl intended to:

Disable profiling

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
pnameprofile variable
bool XrlProfileV0p1Client::send_enable ( const char *  dst_xrl_target_name,
const string &  pname,
const EnableCB &  cb 
)

Send Xrl intended to:

Enable profiling

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
pnameprofile variable
bool XrlProfileV0p1Client::send_enable ( const char *  dst_xrl_target_name,
const string &  pname,
const EnableCB &  cb 
)

Send Xrl intended to:

Enable profiling

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
pnameprofile variable
bool XrlProfileV0p1Client::send_get_entries ( const char *  dst_xrl_target_name,
const string &  pname,
const string &  instance_name,
const GetEntriesCB &  cb 
)

Send Xrl intended to:

Get log entries.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
pnameprofile variable
instance_nameto send the profiling info to.
bool XrlProfileV0p1Client::send_get_entries ( const char *  dst_xrl_target_name,
const string &  pname,
const string &  instance_name,
const GetEntriesCB &  cb 
)

Send Xrl intended to:

Get log entries.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
pnameprofile variable
instance_nameto send the profiling info to.
bool XrlProfileV0p1Client::send_list ( const char *  dst_xrl_target_name,
const ListCB &  cb 
)

Send Xrl intended to:

List all the profiling variables registered with this target.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
bool XrlProfileV0p1Client::send_list ( const char *  dst_xrl_target_name,
const ListCB &  cb 
)

Send Xrl intended to:

List all the profiling variables registered with this target.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.

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