|
XRootD
|
Object for reading out data from the PgRead response. More...
#include <XrdClAsyncPageReader.hh>
Collaboration diagram for XrdCl::AsyncPageReader:Public Member Functions | |
| AsyncPageReader (ChunkList &chunks, std::vector< uint32_t > &digests) | |
| virtual | ~AsyncPageReader () |
| Destructor. | |
| XRootDStatus | Read (Socket &socket, uint32_t &btsread) |
| void | SetRsp (ServerResponseV2 *rsp) |
| Sets message data size. | |
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().
Here is the call graph for this function:
|
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 106 of file XrdClAsyncPageReader.hh.
References XrdCl::Socket::ReadV(), and XrdCl::suRetry.
Here is the call graph for this function:
|
inline |
Sets message data size.
Definition at line 79 of file XrdClAsyncPageReader.hh.
References ServerResponseStatus::bdy, ServerResponseBody_Status::dlen, ServerResponseV2::info, XrdSys::PageSize, and ServerResponseV2::status.