|
xrootd
|
Perform the handshake and the authentication for each physical stream. More...
#include <XrdClPostMasterInterfaces.hh>

Public Member Functions | |
| virtual | ~TransportHandler () |
| virtual Status | GetMessage (Message *message, Socket *socket)=0 |
| virtual void | InitializeChannel (AnyObject &channelData)=0 |
| Initialize channel. More... | |
| virtual void | FinalizeChannel (AnyObject &channelData)=0 |
| Finalize channel. More... | |
| virtual Status | HandShake (HandShakeData *handShakeData, AnyObject &channelData)=0 |
| HandHake. More... | |
| virtual bool | IsStreamTTLElapsed (time_t inactiveTime, AnyObject &channelData)=0 |
| Check if the stream should be disconnected. More... | |
| virtual PathID | Multiplex (Message *msg, AnyObject &channelData, PathID *hint=0)=0 |
| virtual PathID | MultiplexSubStream (Message *msg, AnyObject &channelData, PathID *hint=0)=0 |
| virtual uint16_t | StreamNumber (AnyObject &channelData)=0 |
| Return a number of streams that should be created. More... | |
| virtual uint16_t | SubStreamNumber (AnyObject &channelData)=0 |
| Return a number of substreams per stream that should be created. More... | |
| virtual void | Disconnect (AnyObject &channelData, uint16_t streamId, uint16_t subStreamId)=0 |
| The stream has been disconnected, do the cleanups. More... | |
| virtual Status | Query (uint16_t query, AnyObject &result, AnyObject &channelData)=0 |
| Query the channel. More... | |
| virtual bool | Highjack (Message *msg, AnyObject &channelData)=0 |
| Check whether the transport can highjack the message. More... | |
Perform the handshake and the authentication for each physical stream.
|
inlinevirtual |
|
pure virtual |
The stream has been disconnected, do the cleanups.
Implemented in XrdCl::XRootDTransport.
Referenced by XrdCl::AsyncSocketHandler::Close().
|
pure virtual |
|
pure virtual |
Read a message from the socket, the socket is non blocking, so if there is not enough data the function should retutn errRetry in which case it will be called again when more data arrives with the data previousely read stored in the message buffer
| message | the message |
| socket | the socket |
Implemented in XrdCl::XRootDTransport.
Referenced by XrdCl::AsyncSocketHandler::ReadMessage().
|
pure virtual |
HandHake.
Implemented in XrdCl::XRootDTransport.
Referenced by XrdCl::AsyncSocketHandler::OnConnectionReturn(), and XrdCl::AsyncSocketHandler::OnReadWhileHandshaking().
|
pure virtual |
Check whether the transport can highjack the message.
Implemented in XrdCl::XRootDTransport.
Referenced by XrdCl::Stream::OnIncoming().
|
pure virtual |
|
pure virtual |
Check if the stream should be disconnected.
Implemented in XrdCl::XRootDTransport.
|
pure virtual |
Return the ID for the up stream this message should be sent by and the down stream which the answer should be expected at. Modify the message itself if necessary. If hint is non-zero then the message should be modified such that the answer will be returned via the hinted stream.
Implemented in XrdCl::XRootDTransport.
Referenced by XrdCl::Channel::Send().
|
pure virtual |
Return the ID for the up substream this message should be sent by and the down substream which the answer should be expected at. Modify the message itself if necessary. If hint is non-zero then the message should be modified such that the answer will be returned via the hinted stream.
Implemented in XrdCl::XRootDTransport.
Referenced by XrdCl::Stream::Send().
|
pure virtual |
Query the channel.
Implemented in XrdCl::XRootDTransport.
Referenced by XrdCl::Stream::OnConnect(), and XrdCl::Channel::QueryTransport().
|
pure virtual |
Return a number of streams that should be created.
Implemented in XrdCl::XRootDTransport.
Referenced by XrdCl::Channel::Channel().
|
pure virtual |
Return a number of substreams per stream that should be created.
Implemented in XrdCl::XRootDTransport.
Referenced by XrdCl::Stream::OnConnect().
1.8.3.1