XrdCl::SocketHandler Class Reference

Interface. More...

#include <XrdClPoller.hh>

Inheritance diagram for XrdCl::SocketHandler:
Inheritance graph
[legend]

List of all members.

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.

Detailed Description

Interface.


Member Enumeration Documentation

Event type.

Enumerator:
ReadyToRead 

New data has arrived.

ReadTimeOut 

Read timeout.

ReadyToWrite 

Writing won't block.

WriteTimeOut 

Write timeout.


Constructor & Destructor Documentation

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

Member Function Documentation

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.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 2 Aug 2019 for xrootd by  doxygen 1.6.1