XrdOucCacheIOCB Class Reference

#include <XrdOucCache.hh>

Inheritance diagram for XrdOucCacheIOCB:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void Done (int result)=0
 XrdOucCacheIOCB ()
virtual ~XrdOucCacheIOCB ()

Detailed Description

The XrdOucCacheIOCB defines a callback object that must be used to handle asynchronous I/O operations.


Constructor & Destructor Documentation

XrdOucCacheIOCB::XrdOucCacheIOCB (  )  [inline]
virtual XrdOucCacheIOCB::~XrdOucCacheIOCB (  )  [inline, virtual]

Member Function Documentation

virtual void XrdOucCacheIOCB::Done ( int  result  )  [pure virtual]

Handle result from a previous async operation.

Parameters:
result is result from a previous operation. Successful results are always values >= 0 while errors are negative values and are always '-errno' indicate the reason for the error.

Implemented in XrdFileCache::BlockResponseHandler, XrdFileCache::DirectResponseHandler, and XrdPosixCallBackIO.

Referenced by XrdPosixFileRH::DoIt(), XrdPosixPrepIO::Read(), XrdOucCacheIO2::Read(), XrdPosixPrepIO::ReadV(), XrdOucCacheIO2::ReadV(), XrdPosixPrepIO::Sync(), XrdOucCacheIO2::Sync(), XrdPosixPrepIO::Write(), and XrdOucCacheIO2::Write().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 9 Oct 2019 for xrootd by  doxygen 1.6.1