XrlPFSender Class Reference

Inheritance diagram for XrlPFSender:

List of all members.

Public Types

typedef XorpCallback2< void,
const XrlError &, XrlArgs * >

Public Member Functions

 XrlPFSender (const string &name, EventLoop &e, const char *address)
virtual bool send (const Xrl &xrl, bool direct_call, const SendCallback &cb)=0
 Send an Xrl.
virtual bool sends_pending () const =0
virtual const char * protocol () const =0
virtual bool alive () const =0
 Determine if the underlying transport is still open.
virtual void batch_start ()
virtual void batch_stop ()
const string & address () const
EventLoopeventloop () const
virtual void set_address (const char *a)
virtual string toString () const

Protected Attributes

string _address
string _name

Member Function Documentation

virtual bool XrlPFSender::alive ( ) const [pure virtual]

Determine if the underlying transport is still open.

true if the transport is alive.

Implemented in XrlPFSTCPSender.

virtual bool XrlPFSender::send ( const Xrl xrl,
bool  direct_call,
const SendCallback &  cb 
) [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.

xrlXRL to be sent.
direct_callindication of whether the caller is on the stack.
cbCallback to be invoked with result.

Implemented in XrlPFSTCPSender.

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