19 #ifndef __XRD_CL_POST_CHANNEL_HH__
20 #define __XRD_CL_POST_CHANNEL_HH__
41 class VirtualRedirector;
42 class TickGeneratorTask;
65 const URL &prefurl =
URL() );
Definition: XrdClAnyObject.hh:33
Channel event handler.
Definition: XrdClPostMasterInterfaces.hh:237
A communication channel between the client and the server.
Definition: XrdClChannel.hh:49
Poller * pPoller
Definition: XrdClChannel.hh:189
uint16_t NbConnectedStrm()
Get the number of connected data streams.
XRootDStatus Send(Message *msg, OutgoingMsgHandler *handler, bool stateful, time_t expires)
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.
Definition: XrdClChannel.hh:75
XRootDStatus Send(Message *msg, bool stateful, time_t expires)
void RegisterEventHandler(ChannelEventHandler *handler)
Register channel event handler.
TickGeneratorTask * pTickGenerator
Definition: XrdClChannel.hh:196
JobManager * pJobManager
Definition: XrdClChannel.hh:197
AnyObject pChannelData
Definition: XrdClChannel.hh:194
void DecFileInstCnt()
Decrement file object instance count bound to this channel.
Status Receive(Message *&msg, MessageFilter *filter, time_t expires)
XrdSysMutex pMutex
Definition: XrdClChannel.hh:193
Status ForceDisconnect()
Force disconnect of all streams.
TransportHandler * pTransport
Definition: XrdClChannel.hh:190
void Tick(time_t now)
Handle a time event.
URL pUrl
Definition: XrdClChannel.hh:188
InQueue pIncoming
Definition: XrdClChannel.hh:195
bool CanCollapse(const URL &url)
Status Receive(IncomingMsgHandler *handler, time_t expires)
Status QueryTransport(uint16_t query, AnyObject &result)
TaskManager * pTaskManager
Definition: XrdClChannel.hh:191
Stream * pStream
Definition: XrdClChannel.hh:192
Channel(const URL &url, Poller *poller, TransportHandler *transport, TaskManager *taskManager, JobManager *jobManager, const URL &prefurl=URL())
A synchronize queue for incoming data.
Definition: XrdClInQueue.hh:36
Message handler.
Definition: XrdClPostMasterInterfaces.hh:72
A synchronized queue.
Definition: XrdClJobManager.hh:51
Message filter.
Definition: XrdClPostMasterInterfaces.hh:50
The message representation used throughout the system.
Definition: XrdClMessage.hh:30
Message status handler.
Definition: XrdClPostMasterInterfaces.hh:185
Interface for socket pollers.
Definition: XrdClPoller.hh:87
Stream.
Definition: XrdClStream.hh:49
Definition: XrdClTaskManager.hh:76
Perform the handshake and the authentication for each physical stream.
Definition: XrdClPostMasterInterfaces.hh:317
URL representation.
Definition: XrdClURL.hh:31
Request status.
Definition: XrdClXRootDResponses.hh:219
Definition: XrdSysPthread.hh:165
Definition: XrdClAnyObject.hh:26
Procedure execution status.
Definition: XrdClStatus.hh:113