|
XRootD
|
Utility class encapsulating reading response message logic. More...
#include <XrdClAsyncMsgReader.hh>
Collaboration diagram for XrdCl::AsyncMsgReader:Public Member Functions | |
| AsyncMsgReader (TransportHandler &xrdTransport, Socket &socket, const std::string &strmname, Stream &strm, uint16_t substrmnb) | |
| virtual | ~AsyncMsgReader () |
| Destructor. More... | |
| XRootDStatus | Read () |
| Read out the response from the socket. More... | |
| void | Reset () |
| Reset the state of the object (makes it ready to read out next msg) More... | |
Utility class encapsulating reading response message logic.
Definition at line 36 of file XrdClAsyncMsgReader.hh.
|
inline |
Constructor
| xrdTransport | : the (xrootd) transport layer |
| socket | : the socket with the message to be read out |
| strmname | : stream name |
| strm | : the stream encapsulating the connection |
| substrmnb | : the substream number |
Definition at line 48 of file XrdClAsyncMsgReader.hh.
|
inlinevirtual |
|
inline |
Read out the response from the socket.
Definition at line 82 of file XrdClAsyncMsgReader.hh.
References XrdCl::AsyncSockMsg, XrdCl::Status::code, XrdCl::MsgHandler::Corrupted, XrdCl::Log::Dump(), XrdCl::errCorruptedHeader, XrdCl::TransportHandler::GetBody(), XrdCl::TransportHandler::GetHeader(), XrdCl::DefaultEnv::GetLog(), XrdCl::TransportHandler::GetMore(), ServerResponse::hdr, XrdCl::Stream::InspectStatusRsp(), XrdCl::Stream::InstallIncHandler(), XrdCl::Status::IsOK(), kXR_attn, XrdCl::MsgHandler::More, XrdCl::Stream::OnIncoming(), XrdCl::MsgHandler::Raw, XrdCl::MsgHandler::ReadMessageBody(), ServerResponseHeader::status, XrdCl::stError, and XrdCl::suRetry.
Here is the call graph for this function:
|
inline |
Reset the state of the object (makes it ready to read out next msg)
Definition at line 71 of file XrdClAsyncMsgReader.hh.