|
XRootD
|
Utility class encapsulating reading hand-shake response logic. More...
#include <XrdClAsyncHSReader.hh>
Collaboration diagram for XrdCl::AsyncHSReader:Public Member Functions | |
| AsyncHSReader (TransportHandler &xrdTransport, Socket &socket, const std::string &strmname, Stream &strm, uint16_t substrmnb) | |
| XRootDStatus | Read () |
| Read out the response from the socket. | |
| std::unique_ptr< Message > | ReleaseMsg () |
| Transfer the received message ownership. | |
| void | Reset () |
| Reset the state of the object (makes it ready to read out next msg) | |
Utility class encapsulating reading hand-shake response logic.
Definition at line 36 of file XrdClAsyncHSReader.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 XrdClAsyncHSReader.hh.
|
inline |
Read out the response from the socket.
Definition at line 64 of file XrdClAsyncHSReader.hh.
References XrdCl::AsyncSockMsg, XrdCl::Status::code, XrdCl::Log::Dump(), XrdCl::DefaultEnv::GetLog(), XrdCl::Status::IsOK(), and XrdCl::suRetry.
Here is the call graph for this function:
|
inline |
Transfer the received message ownership.
Definition at line 128 of file XrdClAsyncHSReader.hh.
|
inline |
Reset the state of the object (makes it ready to read out next msg)
Definition at line 137 of file XrdClAsyncHSReader.hh.