Utility class encapsulating writing request logic. More...
#include <XrdClAsyncMsgWriter.hh>
Public Member Functions | |
| AsyncMsgWriter (TransportHandler &xrdTransport, Socket &socket, const std::string &strmname, Stream &strm, uint16_t substrmnb, AnyObject &chdata) | |
| void | Reset () |
| Reset the state of the object (makes it ready to read out next msg) | |
| XRootDStatus | Write () |
| Write the request into the socket. | |
Utility class encapsulating writing request logic.
Definition at line 37 of file XrdClAsyncMsgWriter.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 49 of file XrdClAsyncMsgWriter.hh.
|
inline |
Reset the state of the object (makes it ready to read out next msg)
Definition at line 70 of file XrdClAsyncMsgWriter.hh.
|
inline |
Write the request into the socket.
Definition at line 82 of file XrdClAsyncMsgWriter.hh.
References XrdCl::AsyncSockMsg, XrdCl::Status::code, XrdCl::Log::Dump(), XrdCl::Status::errNo, XrdCl::Log::Error(), XrdCl::DefaultEnv::GetLog(), XrdCl::Status::IsOK(), XrdCl::stOK, XrdCl::suAlreadyDone, XrdCl::suRetry, and XrdSysE2T().