19 #ifndef SRC_XRDCL_XRDCLASYNCHSREADER_HH_
20 #define SRC_XRDCL_XRDCLASYNCHSREADER_HH_
53 xrdTransport( xrdTransport ),
57 substrmnb( substrmnb )
93 "[%s] Received message header, size: %d",
131 return std::move(
inmsg );
Utility class encapsulating reading hand-shake response logic.
Definition: XrdClAsyncHSReader.hh:36
The message representation used throughout the system.
Definition: XrdClMessage.hh:29
Definition: XrdClAsyncHSReader.hh:151
const uint64_t AsyncSockMsg
Definition: XrdClConstants.hh:41
Definition: XrdClAsyncHSReader.hh:150
uint16_t substrmnb
Definition: XrdClAsyncHSReader.hh:168
uint16_t code
Error type, or additional hints on what to do.
Definition: XrdClStatus.hh:146
std::unique_ptr< Message > ReleaseMsg()
Transfer the received message ownership.
Definition: XrdClAsyncHSReader.hh:128
Stage readstage
Definition: XrdClAsyncHSReader.hh:159
void Dump(uint64_t topic, const char *format,...)
Print a dump message.
const std::string & strmname
Definition: XrdClAsyncHSReader.hh:166
static Log * GetLog()
Get default log.
TransportHandler & xrdTransport
Definition: XrdClAsyncHSReader.hh:164
Perform the handshake and the authentication for each physical stream.
Definition: XrdClPostMasterInterfaces.hh:289
void Reset()
Reset the state of the object (makes it ready to read out next msg)
Definition: XrdClAsyncHSReader.hh:137
Request status.
Definition: XrdClXRootDResponses.hh:218
Stream & strm
Definition: XrdClAsyncHSReader.hh:167
XRootDStatus Read()
Read out the response from the socket.
Definition: XrdClAsyncHSReader.hh:64
AsyncHSReader(TransportHandler &xrdTransport, Socket &socket, const std::string &strmname, Stream &strm, uint16_t substrmnb)
Definition: XrdClAsyncHSReader.hh:48
Stage
Stages of reading out a response from the socket.
Definition: XrdClAsyncHSReader.hh:148
std::unique_ptr< Message > inmsg
Definition: XrdClAsyncHSReader.hh:173
const uint16_t suRetry
Definition: XrdClStatus.hh:40
Stream.
Definition: XrdClStream.hh:49
Definition: XrdClAsyncHSReader.hh:152
Socket & socket
Definition: XrdClAsyncHSReader.hh:165
bool IsOK() const
We're fine.
Definition: XrdClStatus.hh:123
virtual XRootDStatus GetBody(Message &message, Socket *socket)=0
virtual XRootDStatus GetHeader(Message &message, Socket *socket)=0
A network socket.
Definition: XrdClSocket.hh:42
Handle diagnostics.
Definition: XrdClLog.hh:100
Definition: XrdClAsyncHSReader.hh:153