|
| 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) |
| |
|
| static const int | disFD = 0x80000000 |
| |
| XrdSys::IOEvents::PollPoll::PollPoll |
( |
int & |
rc, |
|
|
int |
numfd, |
|
|
int |
pFD[2] |
|
) |
| |
| XrdSys::IOEvents::PollPoll::~PollPoll |
( |
| ) |
|
|
inline |
| void XrdSys::IOEvents::PollPoll::Begin |
( |
XrdSysSemaphore * |
syncp, |
|
|
int & |
rc, |
|
|
const char ** |
eTxt |
|
) |
| |
|
protectedvirtual |
| void XrdSys::IOEvents::PollPoll::Dispatch |
( |
int |
ptent, |
|
|
int |
pollEv |
|
) |
| |
|
private |
| void XrdSys::IOEvents::PollPoll::Exclude |
( |
Channel * |
cP, |
|
|
bool & |
isLocked, |
|
|
bool |
dover = 1 |
|
) |
| |
|
protectedvirtual |
| void XrdSys::IOEvents::PollPoll::FDMod |
( |
int |
ptnum, |
|
|
int |
fd, |
|
|
int |
events |
|
) |
| |
|
private |
| void XrdSys::IOEvents::PollPoll::FDRem |
( |
int |
ptnum | ) |
|
|
private |
| bool XrdSys::IOEvents::PollPoll::Include |
( |
Channel * |
cP, |
|
|
int & |
eNum, |
|
|
const char ** |
eTxt, |
|
|
bool & |
isLocked |
|
) |
| |
|
protectedvirtual |
| bool XrdSys::IOEvents::PollPoll::Modify |
( |
Channel * |
cP, |
|
|
int & |
eNum, |
|
|
const char ** |
eTxt, |
|
|
bool & |
isLocked |
|
) |
| |
|
protectedvirtual |
| bool XrdSys::IOEvents::PollPoll::Process |
( |
| ) |
|
|
private |
| void XrdSys::IOEvents::PollPoll::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 XrdSysMutex::Lock(), and XrdSysMutex::UnLock().
| int XrdSys::IOEvents::PollPoll::chnlMax |
|
private |
| int XrdSys::IOEvents::PollPoll::chnlNum |
|
private |
| Channel** XrdSys::IOEvents::PollPoll::chnlTab |
|
private |
| const int XrdSys::IOEvents::PollPoll::disFD = 0x80000000 |
|
staticprivate |
| struct pollfd* XrdSys::IOEvents::PollPoll::pnewTab |
|
private |
| int XrdSys::IOEvents::PollPoll::pollMax |
|
private |
| int XrdSys::IOEvents::PollPoll::pollNum |
|
private |
| struct pollfd* XrdSys::IOEvents::PollPoll::pollTab |
|
private |
The documentation for this class was generated from the following file: