xrootd
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
XrdPollE Class Reference

#include <XrdPollE.hh>

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

Public Member Functions

void Disable (XrdPollInfo &pInfo, const char *etxt=0)
 
int Enable (XrdPollInfo &pInfo)
 
void Start (XrdSysSemaphore *syncp, int &rc)
 
 XrdPollE (struct epoll_event *ptab, int numfd, int pfd, int wfd)
 
 ~XrdPollE ()
 
- Public Member Functions inherited from XrdPoll
 XrdPoll ()
 
virtual ~XrdPoll ()
 

Protected Member Functions

void Exclude (XrdPollInfo &pInfo)
 
int Include (XrdPollInfo &pInfo)
 
const char * x2Text (unsigned int evf, char *buff)
 
- Protected Member Functions inherited from XrdPoll
int getRequest ()
 

Private Member Functions

int AddWaitFd ()
 
void HandleWaitFd (const unsigned int events)
 
void remFD (XrdPollInfo &pInfo, unsigned int events)
 
void Wait4Poller ()
 

Private Attributes

struct epoll_event * PollTab
 
int PollDfd
 
int PollMax
 
int WaitFd
 
XrdSysSemaphore WaitFdSem
 

Static Private Attributes

static const int ePollOneShot = 0
 
static const int ePollEvents
 

Additional Inherited Members

- Static Public Member Functions inherited from XrdPoll
static int Attach (XrdPollInfo &pInfo)
 
static void Detach (XrdPollInfo &pInfo)
 
static int Finish (XrdPollInfo &pInfo, const char *etxt=0)
 
static char * Poll2Text (short events)
 
static int Setup (int numfd)
 
static int Stats (char *buff, int blen, int do_sync=0)
 
- Public Attributes inherited from XrdPoll
int PID
 
pthread_t TID
 
- Static Public Attributes inherited from XrdPoll
static XrdPollPollers [XRD_NUMPOLLERS]
 
- Static Protected Member Functions inherited from XrdPoll
static XrdPollnewPoller (int pollid, int numfd)
 
- Protected Attributes inherited from XrdPoll
XrdSysMutex PollPipe
 
struct pollfd PipePoll
 
int CmdFD
 
int ReqFD
 
PipeData ReqBuff
 
char * PipeBuff
 
int PipeBlen
 
int numEnabled
 
int numEvents
 
int numInterrupts
 
- Static Protected Attributes inherited from XrdPoll
static const char * TraceID
 

Constructor & Destructor Documentation

◆ XrdPollE()

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

References PollDfd, PollMax, PollTab, and WaitFd.

◆ ~XrdPollE()

XrdPollE::~XrdPollE ( )

Member Function Documentation

◆ AddWaitFd()

int XrdPollE::AddWaitFd ( )
private

◆ Disable()

void XrdPollE::Disable ( XrdPollInfo pInfo,
const char *  etxt = 0 
)
virtual

Implements XrdPoll.

◆ Enable()

int XrdPollE::Enable ( XrdPollInfo pInfo)
virtual

Implements XrdPoll.

◆ Exclude()

void XrdPollE::Exclude ( XrdPollInfo pInfo)
protectedvirtual

Implements XrdPoll.

◆ HandleWaitFd()

void XrdPollE::HandleWaitFd ( const unsigned int  events)
private

◆ Include()

int XrdPollE::Include ( XrdPollInfo pInfo)
protectedvirtual

Implements XrdPoll.

◆ remFD()

void XrdPollE::remFD ( XrdPollInfo pInfo,
unsigned int  events 
)
private

◆ Start()

void XrdPollE::Start ( XrdSysSemaphore syncp,
int &  rc 
)
virtual

Implements XrdPoll.

◆ Wait4Poller()

void XrdPollE::Wait4Poller ( )
private

◆ x2Text()

const char * XrdPollE::x2Text ( unsigned int  evf,
char *  buff 
)
protected

Member Data Documentation

◆ ePollEvents

const int XrdPollE::ePollEvents
staticprivate
Initial value:
= EPOLLIN | EPOLLHUP | EPOLLPRI | EPOLLERR |
#define EPOLLRDHUP
Definition XrdPollE.hh:37
static const int ePollOneShot
Definition XrdPollE.hh:72

◆ ePollOneShot

const int XrdPollE::ePollOneShot = 0
staticprivate

◆ PollDfd

int XrdPollE::PollDfd
private

Referenced by XrdPollE().

◆ PollMax

int XrdPollE::PollMax
private

Referenced by XrdPollE().

◆ PollTab

struct epoll_event* XrdPollE::PollTab
private

Referenced by XrdPollE().

◆ WaitFd

int XrdPollE::WaitFd
private

Referenced by XrdPollE().

◆ WaitFdSem

XrdSysSemaphore XrdPollE::WaitFdSem
private

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