Interface for socket pollers.
More...
#include <XrdClPoller.hh>
Interface for socket pollers.
Definition at line 86 of file XrdClPoller.hh.
◆ ~Poller()
| virtual XrdCl::Poller::~Poller |
( |
| ) |
|
|
inlinevirtual |
◆ AddSocket()
Add socket to the polling loop
- Parameters
-
| socket | the socket |
| handler | object handling the events |
Implemented in XrdCl::PollerBuiltIn.
◆ EnableReadNotification()
| virtual bool XrdCl::Poller::EnableReadNotification |
( |
Socket * | socket, |
|
|
bool | notify, |
|
|
uint16_t | timeout = 60 ) |
|
pure virtual |
Notify the handler about read events
- Parameters
-
| socket | the socket |
| notify | specify if the handler should be notified |
| timeout | if no read event occurred after this time a timeout event will be generated |
Implemented in XrdCl::PollerBuiltIn.
◆ EnableWriteNotification()
| virtual bool XrdCl::Poller::EnableWriteNotification |
( |
Socket * | socket, |
|
|
bool | notify, |
|
|
uint16_t | timeout = 60 ) |
|
pure virtual |
Notify the handler about write events
- Parameters
-
| socket | the socket |
| notify | specify if the handler should be notified |
| timeout | if no write event occurred after this time a timeout event will be generated |
Implemented in XrdCl::PollerBuiltIn.
◆ Finalize()
| virtual bool XrdCl::Poller::Finalize |
( |
| ) |
|
|
pure virtual |
◆ Initialize()
| virtual bool XrdCl::Poller::Initialize |
( |
| ) |
|
|
pure virtual |
◆ IsRegistered()
| virtual bool XrdCl::Poller::IsRegistered |
( |
Socket * | socket | ) |
|
|
pure virtual |
◆ IsRunning()
| virtual bool XrdCl::Poller::IsRunning |
( |
| ) |
const |
|
pure virtual |
◆ RemoveSocket()
| virtual bool XrdCl::Poller::RemoveSocket |
( |
Socket * | socket | ) |
|
|
pure virtual |
◆ Start()
| virtual bool XrdCl::Poller::Start |
( |
| ) |
|
|
pure virtual |
◆ Stop()
| virtual bool XrdCl::Poller::Stop |
( |
| ) |
|
|
pure virtual |
The documentation for this class was generated from the following file: