xrootd
|
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)=0 |
Channel event handler.
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. |
|
inlinevirtual |
Destructor.
|
pure virtual |
Event callback
event | the event that has occurred |
status | the status info |