XRootD
Loading...
Searching...
No Matches
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 182 of file XrdPfcFile.hh.

Constructor & Destructor Documentation

◆ BlockResponseHandler()

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

Definition at line 187 of file XrdPfcFile.hh.

References m_block.

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 1591 of file XrdPfcFile.cc.

1592{
1593 m_block->m_file->ProcessBlockResponse(m_block, res);
1594 delete this;
1595}

References m_block.

Member Data Documentation

◆ m_block

Block* XrdPfc::BlockResponseHandler::m_block

Definition at line 185 of file XrdPfcFile.hh.

Referenced by BlockResponseHandler(), and Done().


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