|
xrootd
|
#include <XrdPollE.hh>


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 () | |
Public Member Functions inherited from XrdPoll | |
| XrdPoll () | |
| virtual | ~XrdPoll () |
Protected Member Functions | |
| void | Exclude (XrdLink *lp) |
| int | Include (XrdLink *lp) |
| const char * | x2Text (unsigned int evf, char *buff) |
Protected Member Functions inherited from XrdPoll | |
| int | getRequest () |
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 |
Additional Inherited Members | |
Static Public Member Functions inherited from XrdPoll | |
| static int | Attach (XrdLink *lp) |
| static void | Detach (XrdLink *lp) |
| static int | Finish (XrdLink *lp, const char *etxt=0) |
| static void | Init (XrdSysError *eP, XrdOucTrace *tP, XrdScheduler *sP) |
| 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 XrdPoll * | Pollers [XRD_NUMPOLLERS] = {0, 0, 0} |
Static Protected Member Functions inherited from XrdPoll | |
| static XrdPoll * | newPoller (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 = "Poll" |
| static XrdOucTrace * | XrdTrace = 0 |
| static XrdSysError * | XrdLog = 0 |
| static XrdScheduler * | XrdSched = 0 |
|
inline |
|
virtual |
Implements XrdPoll.
References XrdSysError::Emsg(), XrdLink::FD, XrdLink::FDnum(), XrdPoll::Finish(), XrdLink::ID, XrdLink::isEnabled, XrdPoll::PID, PollDfd, XrdScheduler::Schedule(), TRACEI, XrdPoll::XrdLog, and XrdPoll::XrdSched.
Referenced by Exclude().
|
virtual |
Implements XrdPoll.
References XrdSysError::Emsg(), ePollEvents, XrdLink::FDnum(), XrdLink::ID, XrdLink::isEnabled, XrdPoll::numEnabled, XrdPoll::PID, PollDfd, TRACE, and XrdPoll::XrdLog.
|
protectedvirtual |
Implements XrdPoll.
References Disable(), XrdSysError::Emsg(), XrdLink::ID, XrdLink::isEnabled, and XrdPoll::XrdLog.
|
protectedvirtual |
Implements XrdPoll.
References XrdSysError::Emsg(), XrdLink::FDnum(), XrdLink::ID, PollDfd, and XrdPoll::XrdLog.
|
private |
References XrdSysError::Emsg(), EPOLLRDHUP, XrdLink::FDnum(), XrdLink::ID, PollDfd, and XrdPoll::XrdLog.
Referenced by Start().
|
virtual |
Implements XrdPoll.
References XrdSysError::Emsg(), XrdLink::FDnum(), XrdPoll::Finish(), XrdLink::ID, XrdLink::isEnabled, XrdJob::NextJob, XrdPoll::numEvents, PollDfd, PollMax, PollTab, XrdSysSemaphore::Post(), remFD(), XrdScheduler::Schedule(), x2Text(), XrdPoll::XrdLog, and XrdPoll::XrdSched.
|
protected |
References EPOLLRDHUP.
Referenced by Start().
|
staticprivate |
Referenced by Enable().
|
staticprivate |
|
private |
Referenced by Disable(), Enable(), Include(), remFD(), Start(), XrdPollE(), and ~XrdPollE().
|
private |
Referenced by Start(), and XrdPollE().
|
private |
Referenced by Start(), XrdPollE(), and ~XrdPollE().
1.8.3.1