![]() |
XRootD
|
Object for reading out data from the PgRead response. More...
#include <XrdClAsyncPageReader.hh>
Public Member Functions | |
AsyncPageReader (ChunkList &chunks, std::vector< uint32_t > &digests) | |
virtual | ~AsyncPageReader () |
Destructor. More... | |
XRootDStatus | Read (Socket &socket, uint32_t &btsread) |
void | SetRsp (ServerResponseV2 *rsp) |
Sets message data size. More... | |
Object for reading out data from the PgRead response.
Definition at line 37 of file XrdClAsyncPageReader.hh.
|
inline |
Constructor
chunks | : list of buffer for the data |
digests | : a vector that will be filled with crc32c digest data |
Definition at line 47 of file XrdClAsyncPageReader.hh.
References XrdOucPgrwUtils::csNum().
|
inlinevirtual |
|
inline |
Readout data from the socket
socket | : the socket with the data |
btsread | : number of user data read from the socket |
Definition at line 105 of file XrdClAsyncPageReader.hh.
References XrdOucIOVec::data, XrdCl::Socket::ReadV(), and XrdCl::suRetry.
|
inline |
Sets message data size.
Definition at line 79 of file XrdClAsyncPageReader.hh.
References ServerResponseStatus::bdy, ServerResponseBody_Status::dlen, ServerResponseV2::info, and ServerResponseV2::status.