Channel event handler. More...
#include <XrdClPostMasterInterfaces.hh>
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 |
Channel event handler.
virtual XrdCl::ChannelEventHandler::~ChannelEventHandler | ( | ) | [inline, virtual] |
Destructor.
virtual bool XrdCl::ChannelEventHandler::OnChannelEvent | ( | ChannelEvent | event, | |
Status | status, | |||
uint16_t | stream | |||
) | [pure virtual] |
Event callback
event | the event that has occurred | |
stream | the stream concerned | |
status | the status info |