Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
XrdPoll Class Referenceabstract

Definition at line 43 of file XrdPoll.hh.

Classes

struct  PipeData
 

Public Member Functions

 XrdPoll ()
 
virtual ~XrdPoll ()
 
virtual void Disable (XrdLink *lp, const char *etxt=0)=0
 
virtual int Enable (XrdLink *lp)=0
 
virtual void Start (XrdSysSemaphore *syncp, int &rc)=0
 

Static Public Member Functions

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

int PID
 
pthread_t TID
 

Static Public Attributes

static XrdPollPollers [3]
 

Protected Member Functions

virtual void Exclude (XrdLink *lp)=0
 
int getRequest ()
 
virtual int Include (XrdLink *lp)=0
 

Static Protected Member Functions

static XrdPollnewPoller (int pollid, int numfd)
 

Protected Attributes

int CmdFD
 
int numEnabled
 
int numEvents
 
int numInterrupts
 
int PipeBlen
 
char * PipeBuff
 
struct pollfd PipePoll
 
XrdSysMutex PollPipe
 
PipeData ReqBuff
 
int ReqFD
 

Static Protected Attributes

static const char * TraceID
 
static XrdSysErrorXrdLog
 
static XrdScheduler * XrdSched
 
static XrdOucTrace * XrdTrace
 

Private Attributes

int numAttached
 

Static Private Attributes

static XrdSysMutex doingAttach
 

#include </home/sftnight/build/workspace/root-makedoc-v632/rootspi/rdoc/src/v6-32-00-patches/proof/xrdinc/Xrd/XrdPoll.hh>

Constructor & Destructor Documentation

◆ XrdPoll()

XrdPoll::XrdPoll ( )

◆ ~XrdPoll()

virtual XrdPoll::~XrdPoll ( )
inlinevirtual

Definition at line 98 of file XrdPoll.hh.

Member Function Documentation

◆ Attach()

static int XrdPoll::Attach ( XrdLink *  lp)
static

◆ Detach()

static void XrdPoll::Detach ( XrdLink *  lp)
static

◆ Disable()

virtual void XrdPoll::Disable ( XrdLink *  lp,
const char *  etxt = 0 
)
pure virtual

◆ Enable()

virtual int XrdPoll::Enable ( XrdLink *  lp)
pure virtual

◆ Exclude()

virtual void XrdPoll::Exclude ( XrdLink *  lp)
protectedpure virtual

◆ Finish()

static int XrdPoll::Finish ( XrdLink *  lp,
const char *  etxt = 0 
)
static

◆ getRequest()

int XrdPoll::getRequest ( )
protected

◆ Include()

virtual int XrdPoll::Include ( XrdLink *  lp)
protectedpure virtual

◆ Init()

static void XrdPoll::Init ( XrdSysError eP,
XrdOucTrace *  tP,
XrdScheduler *  sP 
)
inlinestatic

Definition at line 69 of file XrdPoll.hh.

◆ newPoller()

static XrdPoll * XrdPoll::newPoller ( int  pollid,
int  numfd 
)
staticprotected

◆ Poll2Text()

static char * XrdPoll::Poll2Text ( short  events)
static

◆ Setup()

static int XrdPoll::Setup ( int  numfd)
static

◆ Start()

virtual void XrdPoll::Start ( XrdSysSemaphore *  syncp,
int rc 
)
pure virtual

◆ Stats()

static int XrdPoll::Stats ( char *  buff,
int  blen,
int  do_sync = 0 
)
static

Member Data Documentation

◆ CmdFD

int XrdPoll::CmdFD
protected

Definition at line 128 of file XrdPoll.hh.

◆ doingAttach

XrdSysMutex XrdPoll::doingAttach
staticprivate

Definition at line 149 of file XrdPoll.hh.

◆ numAttached

int XrdPoll::numAttached
private

Definition at line 150 of file XrdPoll.hh.

◆ numEnabled

int XrdPoll::numEnabled
protected

Definition at line 143 of file XrdPoll.hh.

◆ numEvents

int XrdPoll::numEvents
protected

Definition at line 144 of file XrdPoll.hh.

◆ numInterrupts

int XrdPoll::numInterrupts
protected

Definition at line 145 of file XrdPoll.hh.

◆ PID

int XrdPoll::PID

Definition at line 90 of file XrdPoll.hh.

◆ PipeBlen

int XrdPoll::PipeBlen
protected

Definition at line 139 of file XrdPoll.hh.

◆ PipeBuff

char* XrdPoll::PipeBuff
protected

Definition at line 138 of file XrdPoll.hh.

◆ PipePoll

struct pollfd XrdPoll::PipePoll
protected

Definition at line 127 of file XrdPoll.hh.

◆ Pollers

XrdPoll* XrdPoll::Pollers[3]
static

Definition at line 95 of file XrdPoll.hh.

◆ PollPipe

XrdSysMutex XrdPoll::PollPipe
protected

Definition at line 126 of file XrdPoll.hh.

◆ ReqBuff

PipeData XrdPoll::ReqBuff
protected

Definition at line 137 of file XrdPoll.hh.

◆ ReqFD

int XrdPoll::ReqFD
protected

Definition at line 129 of file XrdPoll.hh.

◆ TID

pthread_t XrdPoll::TID

Definition at line 91 of file XrdPoll.hh.

◆ TraceID

const char* XrdPoll::TraceID
staticprotected

Definition at line 102 of file XrdPoll.hh.

◆ XrdLog

XrdSysError* XrdPoll::XrdLog
staticprotected

Definition at line 104 of file XrdPoll.hh.

◆ XrdSched

XrdScheduler* XrdPoll::XrdSched
staticprotected

Definition at line 105 of file XrdPoll.hh.

◆ XrdTrace

XrdOucTrace* XrdPoll::XrdTrace
staticprotected

Definition at line 103 of file XrdPoll.hh.

  • proof/xrdinc/Xrd/XrdPoll.hh