![]() |
XRootD
|
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) More... | |
XRootDStatus | Write () |
Write the request into the socket. More... | |
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::Socket::Flash(), XrdCl::DefaultEnv::GetLog(), XrdCl::Message::GetObfuscatedDescription(), XrdCl::TransportHandler::GetSignature(), XrdCl::Buffer::GetSize(), XrdCl::Status::IsOK(), XrdCl::MsgHandler::IsRaw(), XrdCl::Stream::OnMessageSent(), XrdCl::Stream::OnReadyToWrite(), XrdCl::Socket::Send(), XrdCl::Buffer::SetCursor(), XrdCl::stOK, XrdCl::suAlreadyDone, XrdCl::suRetry, XrdCl::MsgHandler::WriteMessageBody(), and XrdSysE2T().