XrlCoordV0p1Client (XrlSender* s)
| XrlCoordV0p1Client |
~XrlCoordV0p1Client ()
| ~XrlCoordV0p1Client |
[virtual]
typedef XorpCallback1<void, const XrlError&>::RefPtr CommandCB | CommandCB |
bool send_command (
const char* target_name,
const string& command,
const CommandCB& cb
)
| send_command |
Send Xrl intended to:
Command to be executed by the coordinating process.
Parameters:
tgt_name | Xrl Target name |
command | to be sent to the coordinator. |
typedef XorpCallback2<void, const XrlError&, const string*>::RefPtr StatusCB | StatusCB |
bool send_status (
const char* target_name,
const string& peer,
const StatusCB& cb
)
| send_status |
Send Xrl intended to:
Status, show the state of this peer.
Parameters:
tgt_name | Xrl Target name |
typedef XorpCallback2<void, const XrlError&, const bool*>::RefPtr PendingCB | PendingCB |
bool send_pending (
const char* target_name,
const PendingCB& cb
)
| send_pending |
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:
tgt_name | Xrl Target name |
XrlSender* _sender | _sender |
[protected]