![]() |
XRootD
|
Utility class encapsulating writing hand-shake request logic. More...
#include <XrdClAsyncHSWriter.hh>
Public Member Functions | |
AsyncHSWriter (Socket &socket, const std::string &strmname) | |
bool | HasMsg () |
Check if writer was assigned with a message. More... | |
void | Replay () |
Replay the message that has been sent. More... | |
void | Reset (Message *msg=nullptr) |
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 hand-shake request logic.
Definition at line 38 of file XrdClAsyncHSWriter.hh.
|
inline |
Constructor
socket | : the socket with the message to be read out |
strmname | : stream name |
Definition at line 47 of file XrdClAsyncHSWriter.hh.
|
inline |
Check if writer was assigned with a message.
Definition at line 77 of file XrdClAsyncHSWriter.hh.
|
inline |
Replay the message that has been sent.
Definition at line 67 of file XrdClAsyncHSWriter.hh.
|
inline |
Reset the state of the object (makes it ready to read out next msg)
Definition at line 58 of file XrdClAsyncHSWriter.hh.
|
inline |
Write the request into the socket.
Definition at line 85 of file XrdClAsyncHSWriter.hh.
References XrdCl::AsyncSockMsg, XrdCl::Status::code, XrdCl::Status::errNo, XrdCl::Log::Error(), XrdCl::Socket::Flash(), XrdCl::DefaultEnv::GetLog(), XrdCl::Status::IsOK(), XrdCl::Socket::Send(), XrdCl::suRetry, and XrdSysE2T().