Definition at line 38 of file XrdClXCpSrc.cc.
◆ ChunkHandler()
XrdCl::ChunkHandler::ChunkHandler |
( |
XCpSrc * |
src, |
|
|
uint64_t |
offset, |
|
|
uint64_t |
size, |
|
|
char * |
buffer, |
|
|
File * |
handle, |
|
|
bool |
usepgrd |
|
) |
| |
|
inline |
Definition at line 42 of file XrdClXCpSrc.cc.
43 pSrc( src->Self() ), pOffset( offset ), pSize( size ), pBuffer( buffer ), pHandle( handle ), pUsePgRead( usepgrd )
◆ ~ChunkHandler()
virtual XrdCl::ChunkHandler::~ChunkHandler |
( |
| ) |
|
|
inlinevirtual |
◆ HandleResponse()
Called when a response to associated request arrives or an error occurs
- Parameters
-
status | status of the request |
response | an object associated with the response (request dependent) |
Reimplemented from XrdCl::ResponseHandler.
Definition at line 53 of file XrdClXCpSrc.cc.
58 ToPgInfo( response, chunk );
62 if( !chunk && status->IsOK() )
67 if( status->IsOK() && chunk->GetLength() != pSize )
79 pSrc->ReportResponse( status, chunk, pHandle );
const uint16_t stError
An error occurred that could potentially be retried.
const uint16_t errDataError
data is corrupted
const uint16_t errInternal
Internal error.
References XrdCl::errDataError, XrdCl::errInternal, XrdCl::PageInfo::GetLength(), XrdCl::Status::IsOK(), and XrdCl::stError.
The documentation for this class was generated from the following file: