33 #include "XrdSys/XrdSysPthread.hh" 35 #define XRD_NUMPOLLERS 3 41 class XrdSysSemaphore;
49 static int Attach(XrdLink *lp);
53 static void Detach(XrdLink *lp);
57 virtual void Disable(XrdLink *lp,
const char *etxt=0) = 0;
61 virtual int Enable(XrdLink *lp) = 0;
65 static int Finish(XrdLink *lp,
const char *etxt=0);
78 static int Setup(
int numfd);
82 virtual void Start(XrdSysSemaphore *syncp,
int &rc) = 0;
86 static int Stats(
char *buff,
int blen,
int do_sync=0);
113 virtual void Exclude(XrdLink *lp) = 0;
117 virtual int Include(XrdLink *lp) = 0;
static XrdScheduler * XrdSched
virtual void Start(XrdSysSemaphore *syncp, int &rc)=0
static const char * TraceID
virtual void Exclude(XrdLink *lp)=0
static XrdOucTrace * XrdTrace
static void Init(XrdSysError *eP, XrdOucTrace *tP, XrdScheduler *sP)
static int Setup(int numfd)
union XrdPoll::PipeData::@176 Parms
virtual int Include(XrdLink *lp)=0
static char * Poll2Text(short events)
static int Attach(XrdLink *lp)
static XrdSysError * XrdLog
struct XrdPoll::PipeData::@176::@177 Arg
static void Detach(XrdLink *lp)
virtual int Enable(XrdLink *lp)=0
static XrdSysMutex doingAttach
static int Stats(char *buff, int blen, int do_sync=0)
static XrdPoll * Pollers[XRD_NUMPOLLERS]
static XrdPoll * newPoller(int pollid, int numfd)
static int Finish(XrdLink *lp, const char *etxt=0)
virtual void Disable(XrdLink *lp, const char *etxt=0)=0