xrootd
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Static Private Attributes

XrdPollE Class Reference

#include <XrdPollE.hh>

Inheritance diagram for XrdPollE:
Inheritance graph
[legend]
Collaboration diagram for XrdPollE:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void Disable (XrdLink *lp, const char *etxt=0)
int Enable (XrdLink *lp)
void Start (XrdSysSemaphore *syncp, int &rc)
 XrdPollE (struct epoll_event *ptab, int numfd, int pfd)
 ~XrdPollE ()

Protected Member Functions

void Exclude (XrdLink *lp)
int Include (XrdLink *lp)
char * x2Text (unsigned int evf)

Private Member Functions

void remFD (XrdLink *lp, unsigned int events)

Private Attributes

struct epoll_event * PollTab
int PollDfd
int PollMax

Static Private Attributes

static const int ePollOneShot = 0
static const int ePollEvents

Constructor & Destructor Documentation

XrdPollE::XrdPollE ( struct epoll_event *  ptab,
int  numfd,
int  pfd 
) [inline]

References PollDfd, PollMax, and PollTab.

XrdPollE::~XrdPollE ( )

References close, PollDfd, and PollTab.


Member Function Documentation

void XrdPollE::Disable ( XrdLink lp,
const char *  etxt = 0 
) [virtual]
int XrdPollE::Enable ( XrdLink lp) [virtual]
void XrdPollE::Exclude ( XrdLink lp) [protected, virtual]
int XrdPollE::Include ( XrdLink lp) [protected, virtual]
void XrdPollE::remFD ( XrdLink lp,
unsigned int  events 
) [private]

References XrdSysError::Emsg(), XrdLink::FDnum(), XrdLink::ID, and PollDfd.

Referenced by Start().

void XrdPollE::Start ( XrdSysSemaphore syncp,
int &  rc 
) [virtual]
char * XrdPollE::x2Text ( unsigned int  evf) [protected]

Referenced by Start().


Member Data Documentation

const int XrdPollE::ePollEvents [static, private]
Initial value:
 EPOLLIN  | EPOLLHUP | EPOLLPRI | EPOLLERR |
                                  ePollOneShot

Referenced by Enable().

const int XrdPollE::ePollOneShot = 0 [static, private]
int XrdPollE::PollDfd [private]
int XrdPollE::PollMax [private]

Referenced by Start(), and XrdPollE().

struct epoll_event* XrdPollE::PollTab [private]

Referenced by Start(), XrdPollE(), and ~XrdPollE().


The documentation for this class was generated from the following files: