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 | Initialize (Poller *) |
Initializer. | |
virtual void | Finalize () |
Finalizer. | |
virtual void | Event (uint8_t type, Socket *socket)=0 |
Called when an event occurred on a given socket. | |
Static Public Member Functions | |
static std::string | EventTypeToString (uint8_t event) |
Translate the event type to a string. |
Interface.
virtual XrdCl::SocketHandler::~SocketHandler | ( | ) | [inline, virtual] |
virtual void XrdCl::SocketHandler::Event | ( | uint8_t | type, | |
Socket * | socket | |||
) | [pure virtual] |
Called when an event occurred on a given socket.
Implemented in XrdCl::AsyncSocketHandler.
static std::string XrdCl::SocketHandler::EventTypeToString | ( | uint8_t | event | ) | [inline, static] |
Translate the event type to a string.
References ReadTimeOut, ReadyToRead, ReadyToWrite, and WriteTimeOut.
virtual void XrdCl::SocketHandler::Finalize | ( | ) | [inline, virtual] |
Finalizer.
virtual void XrdCl::SocketHandler::Initialize | ( | Poller * | ) | [inline, virtual] |
Initializer.