19 #ifndef __XRD_CL_POST_CHANNEL_HH__
20 #define __XRD_CL_POST_CHANNEL_HH__
41 class VirtualRedirector;
42 class TickGeneratorTask;
78 const URL &prefurl =
URL() );
134 void Tick( time_t now );
151 const uint64_t sess );
182 void SetSelf( std::shared_ptr<Channel> &
self );
197 std::unique_ptr<Stream> pStream;
203 std::weak_ptr<Channel> pSelf;
uint16_t NbConnectedStrm()
Get the number of connected data streams.
Status ForceReconnect()
Force reconnect.
void RemoveEventHandler(ChannelEventHandler *handler)
Remove a channel event handler.
void SetOnDataConnectHandler(std::shared_ptr< Job > &onConnJob)
Set the on-connect handler for data streams.
const URL & GetURL() const
Get the URL.
void RegisterEventHandler(ChannelEventHandler *handler)
Register channel event handler.
void DecFileInstCnt()
Decrement file object instance count bound to this channel.
Status ForceDisconnect()
Force disconnect of all streams.
XRootDStatus Send(Message *msg, MsgHandler *handler, bool stateful, time_t expires)
void SetSelf(std::shared_ptr< Channel > &self)
Gives us access to the shared pointer that the postmaster holds for us.
void Tick(time_t now)
Handle a time event.
bool CanCollapse(const URL &url)
Status QueryTransport(uint16_t query, AnyObject &result)
Channel(const URL &url, Poller *poller, TransportHandler *transport, TaskManager *taskManager, JobManager *jobManager, const URL &prefurl=URL())
A synchronize queue for incoming data.
The message representation used throughout the system.
Interface for socket pollers.
Perform the handshake and the authentication for each physical stream.
Procedure execution status.