|
xrootd
|
Message status handler. More...
#include <XrdClPostMasterInterfaces.hh>

Public Member Functions | |
| virtual | ~OutgoingMsgHandler () |
| virtual void | OnStatusReady (const Message *message, Status status)=0 |
| The requested action has been performed and the status is available. More... | |
| virtual void | OnReadyToSend (Message *msg, uint16_t streamNum) |
| virtual bool | IsRaw () const |
| virtual Status | WriteMessageBody (int socket, uint32_t &bytesRead) |
Message status handler.
|
inlinevirtual |
|
inlinevirtual |
Determines whether the handler wants to write some data directly to the socket after the message (or message header) has been sent, WriteMessageBody will be called
Reimplemented in XrdCl::XRootDMsgHandler.
Referenced by XrdCl::AsyncSocketHandler::OnWrite().
|
inlinevirtual |
Called just before the message is going to be sent through a valid connection, so that the user can still make some modifications that were impossible before (ie. protocol version dependent adjustments)
| msg | message concerned |
| streamNum | number of the stream the message will go through |
Referenced by XrdCl::Stream::OnReadyToWrite().
|
pure virtual |
The requested action has been performed and the status is available.
Implemented in XrdCl::XRootDMsgHandler.
Referenced by XrdCl::Stream::OnMessageSent().
|
inlinevirtual |
Write message body directly to a socket - called if IsRaw returns true - only socket related errors may be returned here
| socket | the socket to read from |
| bytesRead | number of bytes read by the method |
Reimplemented in XrdCl::XRootDMsgHandler.
Referenced by XrdCl::AsyncSocketHandler::OnWrite().
1.8.3.1