![]() |
XRootD
|
Interface. More...
#include <XrdClPoller.hh>
Public Types | |
enum | EventType { ReadyToRead = 0x01 , ReadTimeOut = 0x02 , ReadyToWrite = 0x04 , WriteTimeOut = 0x08 } |
Event type. More... | |
Public Member Functions | |
virtual | ~SocketHandler () |
virtual void | Event (uint8_t type, Socket *socket)=0 |
Called when an event occurred on a given socket. More... | |
virtual void | Finalize () |
Finalizer. More... | |
virtual void | Initialize (Poller *) |
Initializer. More... | |
Static Public Member Functions | |
static std::string | EventTypeToString (uint8_t event) |
Translate the event type to a string. More... | |
Interface.
Definition at line 33 of file XrdClPoller.hh.
Event type.
Enumerator | |
---|---|
ReadyToRead | New data has arrived. |
ReadTimeOut | Read timeout. |
ReadyToWrite | Writing won't block. |
WriteTimeOut | Write timeout. |
Definition at line 39 of file XrdClPoller.hh.
|
inlinevirtual |
Definition at line 50 of file XrdClPoller.hh.
|
pure virtual |
Called when an event occurred on a given socket.
Implemented in XrdCl::AsyncSocketHandler.
|
inlinestatic |
Translate the event type to a string.
Definition at line 71 of file XrdClPoller.hh.
References ReadTimeOut, ReadyToRead, ReadyToWrite, and WriteTimeOut.
|
inlinevirtual |
|
inlinevirtual |
Initializer.
Definition at line 55 of file XrdClPoller.hh.
Referenced by XrdCl::PollerBuiltIn::AddSocket().