XrdCl::ChannelEventHandler Class Reference

Channel event handler. More...

#include <XrdClPostMasterInterfaces.hh>

List of all members.

Public Types

enum  ChannelEvent { StreamReady = 1, StreamBroken = 2, FatalError = 4 }
 

Events that may have occurred to the channel.

More...

Public Member Functions

virtual ~ChannelEventHandler ()
 Destructor.
virtual bool OnChannelEvent (ChannelEvent event, Status status, uint16_t stream)=0

Detailed Description

Channel event handler.


Member Enumeration Documentation

Events that may have occurred to the channel.

Enumerator:
StreamReady 

The stream has become connected.

StreamBroken 

The stream is broken.

FatalError 

Stream has been broken and won't be recovered.


Constructor & Destructor Documentation

virtual XrdCl::ChannelEventHandler::~ChannelEventHandler (  )  [inline, virtual]

Destructor.


Member Function Documentation

virtual bool XrdCl::ChannelEventHandler::OnChannelEvent ( ChannelEvent  event,
Status  status,
uint16_t  stream 
) [pure virtual]

Event callback

Parameters:
event the event that has occurred
stream the stream concerned
status the status info
Returns:
true if the handler should be kept false if it should be removed from further consideration

The documentation for this class was generated from the following file:

Generated on 22 Oct 2018 for xrootd by  doxygen 1.6.1