|
| static int | AllocMem (void **memP, int slots) |
| |
| static Poller * | Create (int &eNum, const char **eTxt=0) |
| |
|
| static const int | pollOK = POLLIN | POLLRDNORM | POLLPRI | POLLOUT |
| |
| static const int | pollRD = POLLIN | POLLRDNORM | POLLPRI |
| |
| static const int | pollWR = POLLOUT |
| |
|
| void | Begin (XrdSysSemaphore *syncp, int &rc, const char **eMsg) |
| |
| timespec_t * | BegTO (timespec_t &theTO) |
| |
| 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::PollPort::PollPort |
( |
port_event_t * |
ptab, |
|
|
int |
numfd, |
|
|
int |
pfd, |
|
|
int |
pFD[2] |
|
) |
| |
|
inline |
| XrdSys::IOEvents::PollPort::~PollPort |
( |
| ) |
|
|
inline |
| int XrdSys::IOEvents::PollPort::AllocMem |
( |
void ** |
memP, |
|
|
int |
slots |
|
) |
| |
|
static |
| void XrdSys::IOEvents::PollPort::Begin |
( |
XrdSysSemaphore * |
syncp, |
|
|
int & |
rc, |
|
|
const char ** |
eTxt |
|
) |
| |
|
protectedvirtual |
| timespec_t* XrdSys::IOEvents::PollPort::BegTO |
( |
timespec_t & |
theTO | ) |
|
|
inlineprotected |
| void XrdSys::IOEvents::PollPort::Dispatch |
( |
Channel * |
cP, |
|
|
int |
pollEv |
|
) |
| |
|
private |
| void XrdSys::IOEvents::PollPort::Exclude |
( |
Channel * |
cP, |
|
|
bool & |
isLocked, |
|
|
bool |
dover = 1 |
|
) |
| |
|
protectedvirtual |
| bool XrdSys::IOEvents::PollPort::Include |
( |
Channel * |
cP, |
|
|
int & |
eNum, |
|
|
const char ** |
eTxt, |
|
|
bool & |
isLocked |
|
) |
| |
|
protectedvirtual |
| bool XrdSys::IOEvents::PollPort::Modify |
( |
Channel * |
cP, |
|
|
int & |
eNum, |
|
|
const char ** |
eTxt, |
|
|
bool & |
isLocked |
|
) |
| |
|
protectedvirtual |
| bool XrdSys::IOEvents::PollPort::Process |
( |
| ) |
|
|
private |
| void XrdSys::IOEvents::PollPort::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::PollPort::pollDfd |
|
private |
| int XrdSys::IOEvents::PollPort::pollMax |
|
private |
| const int XrdSys::IOEvents::PollPort::pollOK = POLLIN | POLLRDNORM | POLLPRI | POLLOUT |
|
static |
| const int XrdSys::IOEvents::PollPort::pollRD = POLLIN | POLLRDNORM | POLLPRI |
|
static |
| port_event_t* XrdSys::IOEvents::PollPort::pollTab |
|
private |
| const int XrdSys::IOEvents::PollPort::pollWR = POLLOUT |
|
static |
The documentation for this class was generated from the following file: