XRootD
XrdPfc::BlockResponseHandler Class Reference

#include <XrdPfcFile.hh>

+ Inheritance diagram for XrdPfc::BlockResponseHandler:
+ Collaboration diagram for XrdPfc::BlockResponseHandler:

Public Member Functions

 BlockResponseHandler (Block *b)
 
void Done (int result) override
 
- Public Member Functions inherited from XrdOucCacheIOCB
 XrdOucCacheIOCB ()
 
virtual ~XrdOucCacheIOCB ()
 

Public Attributes

Blockm_block
 

Detailed Description

Definition at line 171 of file XrdPfcFile.hh.

Constructor & Destructor Documentation

◆ BlockResponseHandler()

XrdPfc::BlockResponseHandler::BlockResponseHandler ( Block b)
inline

Definition at line 176 of file XrdPfcFile.hh.

176 : m_block(b) {}

Member Function Documentation

◆ Done()

void BlockResponseHandler::Done ( int  result)
overridevirtual

Handle result from a previous async operation.

Parameters
resultis 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.

Implements XrdOucCacheIOCB.

Definition at line 1678 of file XrdPfcFile.cc.

1679 {
1680  m_block->m_file->ProcessBlockResponse(m_block, res);
1681  delete this;
1682 }

References m_block, and XrdPfc::Block::m_file.

Member Data Documentation

◆ m_block

Block* XrdPfc::BlockResponseHandler::m_block

Definition at line 174 of file XrdPfcFile.hh.

Referenced by Done().


The documentation for this class was generated from the following files: