|
| | PollE (struct epoll_event *ptab, int numfd, int pfd, int pFD[2]) |
| |
| | ~PollE () |
| |
| void | Stop () |
| |
| | Poller (int cFD, int rFD) |
| |
| virtual | ~Poller () |
| | Destructor. Stop() is effecively called when this object is deleted. More...
|
| |
|
| static int | AllocMem (void **memP, int slots) |
| |
| static Poller * | Create (int &eNum, const char **eTxt=0) |
| |
|
| void | Begin (XrdSysSemaphore *syncp, int &rc, const char **eMsg) |
| |
| void | Exclude (Channel *cP, bool &isLocked, bool dover=1) |
| |
| bool | Include (Channel *cP, int &eNum, const char **eTxt, bool &isLocked) |
| |
| bool | Modify (Channel *cP, int &eNum, const char **eTxt, bool &isLocked) |
| |
| void | Shutdown () |
| |
| void | CbkTMO () |
| |
| bool | CbkXeq (Channel *cP, int events, int eNum, const char *eTxt) |
| |
| int | GetFault (Channel *cP) |
| |
| int | GetPollEnt (Channel *cP) |
| |
| int | GetRequest () |
| |
| bool | Init (Channel *cP, int &eNum, const char **eTxt, bool &isLockd) |
| |
| void | LockChannel (Channel *cP) |
| |
| int | Poll2Enum (short events) |
| |
| int | SendCmd (PipeData &cmd) |
| |
| void | SetPollEnt (Channel *cP, int ptEnt) |
| |
| bool | TmoAdd (Channel *cP) |
| |
| void | TmoDel (Channel *cP) |
| |
| int | TmoGet () |
| |
| void | UnLockChannel (Channel *cP) |
| |
| XrdSys::IOEvents::PollE::PollE |
( |
struct epoll_event * |
ptab, |
|
|
int |
numfd, |
|
|
int |
pfd, |
|
|
int |
pFD[2] |
|
) |
| |
|
inline |
| XrdSys::IOEvents::PollE::~PollE |
( |
| ) |
|
|
inline |
| int XrdSys::IOEvents::PollE::AllocMem |
( |
void ** |
memP, |
|
|
int |
slots |
|
) |
| |
|
static |
| int XrdSys::IOEvents::PollE::AllocPT |
( |
int |
slots | ) |
|
|
private |
| void XrdSys::IOEvents::PollE::Begin |
( |
XrdSysSemaphore * |
syncp, |
|
|
int & |
rc, |
|
|
const char ** |
eTxt |
|
) |
| |
|
protectedvirtual |
| void XrdSys::IOEvents::PollE::Dispatch |
( |
Channel * |
cP, |
|
|
uint32_t |
pollEv |
|
) |
| |
|
private |
| void XrdSys::IOEvents::PollE::Exclude |
( |
Channel * |
cP, |
|
|
bool & |
isLocked, |
|
|
bool |
dover = 1 |
|
) |
| |
|
protectedvirtual |
| bool XrdSys::IOEvents::PollE::Include |
( |
Channel * |
cP, |
|
|
int & |
eNum, |
|
|
const char ** |
eTxt, |
|
|
bool & |
isLocked |
|
) |
| |
|
protectedvirtual |
| bool XrdSys::IOEvents::PollE::Modify |
( |
Channel * |
cP, |
|
|
int & |
eNum, |
|
|
const char ** |
eTxt, |
|
|
bool & |
isLocked |
|
) |
| |
|
protectedvirtual |
| bool XrdSys::IOEvents::PollE::Process |
( |
| ) |
|
|
private |
| void XrdSys::IOEvents::PollE::Shutdown |
( |
| ) |
|
|
protectedvirtual |
Shutdown the poller. An implementation must be supplied. The shutdown method must release any allocated storage and close private file descriptors. The polling thread will have already been terminated and x-thread pipe closed. Warning: the derived destructor must call Stop() and do nothing else!
Implements XrdSys::IOEvents::Poller.
References close(), XrdSysMutex::Lock(), and XrdSysMutex::UnLock().
| int XrdSys::IOEvents::PollE::pollDfd |
|
private |
| int XrdSys::IOEvents::PollE::pollMax |
|
private |
| int XrdSys::IOEvents::PollE::pollNum |
|
private |
| struct epoll_event* XrdSys::IOEvents::PollE::pollTab |
|
private |
The documentation for this class was generated from the following file: