#include <XrdSfsXio.hh>
Public Types | |
enum | XioStatus { allOK = 0, BadBuff, BadHandle, NotWrite, TooMany } |
Values return by Swap(). More... | |
Public Member Functions | |
virtual XioStatus | Swap (const char *curBuff, XrdSfsXioHandle *&curHand, XrdSfsXioHandle *oldHand=0)=0 |
XrdSfsXio () | |
Constructor and destructor. | |
virtual | ~XrdSfsXio () |
enum XrdSfsXio::XioStatus |
XrdSfsXio::XrdSfsXio | ( | ) | [inline] |
Constructor and destructor.
virtual XrdSfsXio::~XrdSfsXio | ( | ) | [inline, virtual] |
virtual XioStatus XrdSfsXio::Swap | ( | const char * | curBuff, | |
XrdSfsXioHandle *& | curHand, | |||
XrdSfsXioHandle * | oldHand = 0 | |||
) | [pure virtual] |
Swap the current I/O buffer
curBuff | - The address of the current buffer. It must match the the buffer that was most recently passed to the caller. | |
curHand | - Where the handle associated with curBuff is to be placed. | |
oldHand | - The handle associated with a buffer returned by a previous call to Swap(). A value of zero indicates that the caller is taking control of the buffer but has no replacement buffer. |