xorp

XrlCoordV0p1Client Class Reference

List of all members.

Public Types

typedef XorpCallback1< void,
const XrlError & >::RefPtr 
CommandCB
typedef XorpCallback2< void,
const XrlError &, const string * >
::RefPtr 
StatusCB
typedef XorpCallback2< void,
const XrlError &, const bool * >
::RefPtr 
PendingCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
CommandCB
typedef XorpCallback2< void,
const XrlError &, const string * >
::RefPtr 
StatusCB
typedef XorpCallback2< void,
const XrlError &, const bool * >
::RefPtr 
PendingCB

Public Member Functions

 XrlCoordV0p1Client (XrlSender *s)
bool send_command (const char *dst_xrl_target_name, const string &command, const CommandCB &cb)
 Send Xrl intended to:
bool send_status (const char *dst_xrl_target_name, const string &peer, const StatusCB &cb)
 Send Xrl intended to:
bool send_pending (const char *dst_xrl_target_name, const PendingCB &cb)
 Send Xrl intended to:
 XrlCoordV0p1Client (XrlSender *s)
bool send_command (const char *dst_xrl_target_name, const string &command, const CommandCB &cb)
 Send Xrl intended to:
bool send_status (const char *dst_xrl_target_name, const string &peer, const StatusCB &cb)
 Send Xrl intended to:
bool send_pending (const char *dst_xrl_target_name, const PendingCB &cb)
 Send Xrl intended to:

Protected Attributes

XrlSender_sender

Static Private Member Functions

static void unmarshall_command (const XrlError &e, XrlArgs *a, CommandCB cb)
static void unmarshall_status (const XrlError &e, XrlArgs *a, StatusCB cb)
static void unmarshall_pending (const XrlError &e, XrlArgs *a, PendingCB cb)
static void unmarshall_command (const XrlError &e, XrlArgs *a, CommandCB cb)
static void unmarshall_status (const XrlError &e, XrlArgs *a, StatusCB cb)
static void unmarshall_pending (const XrlError &e, XrlArgs *a, PendingCB cb)

Private Attributes

auto_ptr< Xrlap_xrl_command
auto_ptr< Xrlap_xrl_status
auto_ptr< Xrlap_xrl_pending

Member Function Documentation

bool XrlCoordV0p1Client::send_command ( const char *  dst_xrl_target_name,
const string &  command,
const CommandCB &  cb 
)

Send Xrl intended to:

Command to be executed by the coordinating process.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
commandto be sent to the coordinator.
bool XrlCoordV0p1Client::send_command ( const char *  dst_xrl_target_name,
const string &  command,
const CommandCB &  cb 
)

Send Xrl intended to:

Command to be executed by the coordinating process.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
commandto be sent to the coordinator.
bool XrlCoordV0p1Client::send_pending ( const char *  dst_xrl_target_name,
const PendingCB &  cb 
)

Send Xrl intended to:

If there are still any outstanding commands pending will return true. Can be used to poll the coordinating process to verify that the previous command has completed.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
bool XrlCoordV0p1Client::send_pending ( const char *  dst_xrl_target_name,
const PendingCB &  cb 
)

Send Xrl intended to:

If there are still any outstanding commands pending will return true. Can be used to poll the coordinating process to verify that the previous command has completed.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
bool XrlCoordV0p1Client::send_status ( const char *  dst_xrl_target_name,
const string &  peer,
const StatusCB &  cb 
)

Send Xrl intended to:

Status, show the state of this peer.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
bool XrlCoordV0p1Client::send_status ( const char *  dst_xrl_target_name,
const string &  peer,
const StatusCB &  cb 
)

Send Xrl intended to:

Status, show the state of this peer.

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