xorp

XrlProfileClientV0p1Client Class Reference

List of all members.

Public Types

typedef XorpCallback1< void,
const XrlError & >::RefPtr 
LogCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
FinishedCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
LogCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
FinishedCB

Public Member Functions

 XrlProfileClientV0p1Client (XrlSender *s)
bool send_log (const char *dst_xrl_target_name, const string &pname, const uint32_t &sec, const uint32_t &usec, const string &comment, const LogCB &cb)
 Send Xrl intended to:
bool send_finished (const char *dst_xrl_target_name, const string &pname, const FinishedCB &cb)
 Send Xrl intended to:
 XrlProfileClientV0p1Client (XrlSender *s)
bool send_log (const char *dst_xrl_target_name, const string &pname, const uint32_t &sec, const uint32_t &usec, const string &comment, const LogCB &cb)
 Send Xrl intended to:
bool send_finished (const char *dst_xrl_target_name, const string &pname, const FinishedCB &cb)
 Send Xrl intended to:

Protected Attributes

XrlSender_sender

Static Private Member Functions

static void unmarshall_log (const XrlError &e, XrlArgs *a, LogCB cb)
static void unmarshall_finished (const XrlError &e, XrlArgs *a, FinishedCB cb)
static void unmarshall_log (const XrlError &e, XrlArgs *a, LogCB cb)
static void unmarshall_finished (const XrlError &e, XrlArgs *a, FinishedCB cb)

Private Attributes

auto_ptr< Xrlap_xrl_log
auto_ptr< Xrlap_xrl_finished

Member Function Documentation

bool XrlProfileClientV0p1Client::send_finished ( const char *  dst_xrl_target_name,
const string &  pname,
const FinishedCB &  cb 
)

Send Xrl intended to:

Sent to notify the client that all log entries have been sent.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
pnameprofiling variable.
bool XrlProfileClientV0p1Client::send_finished ( const char *  dst_xrl_target_name,
const string &  pname,
const FinishedCB &  cb 
)

Send Xrl intended to:

Sent to notify the client that all log entries have been sent.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
pnameprofiling variable.
bool XrlProfileClientV0p1Client::send_log ( const char *  dst_xrl_target_name,
const string &  pname,
const uint32_t &  sec,
const uint32_t &  usec,
const string &  comment,
const LogCB &  cb 
)

Send Xrl intended to:

A log entry that is sent from a profile server.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
pnameprofiling variable.
secabsolute time in seconds that this entry was created.
usecabsolute time in micro seconds that this entry was created.
commenta comment to be appended to this entry.
bool XrlProfileClientV0p1Client::send_log ( const char *  dst_xrl_target_name,
const string &  pname,
const uint32_t &  sec,
const uint32_t &  usec,
const string &  comment,
const LogCB &  cb 
)

Send Xrl intended to:

A log entry that is sent from a profile server.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
pnameprofiling variable.
secabsolute time in seconds that this entry was created.
usecabsolute time in micro seconds that this entry was created.
commenta comment to be appended to this entry.

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