typedef XorpCallback2<void, const XrlError&, XrlArgs*>::RefPtr SendCallback | SendCallback |
XrlPFSender (EventLoop& e, const char* address)
| XrlPFSender |
~XrlPFSender ()
| ~XrlPFSender |
[virtual]
bool send (const Xrl& xrl,
bool direct_call,
const SendCallback& cb)
| send |
[pure virtual]
Send an Xrl.
This method attempts to perform the sender side processing of an XRL.
If a direct_call the method will return true or false to indicate success to the caller. If not a direct call, a failure will be communicated via a callback since there's no way to get the information directly back to the caller.
Parameters:
xrl | XRL to be sent. |
direct_call | indication of whether the caller is on the stack. |
cb | Callback to be invoked with result. |
bool sends_pending ()
| sends_pending |
[const pure virtual]
const char* protocol ()
| protocol |
[const pure virtual]
bool alive ()
| alive |
[const pure virtual]
inline const string& address ()
| address |
[const]
inline EventLoop& eventloop ()
| eventloop |
[const]
EventLoop& _eventloop | _eventloop |
[protected]
string _address | _address |
[protected]