xrootd
Loading...
Searching...
No Matches
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes | Private Attributes | Static Private Attributes | List of all members
XrdPoll Class Referenceabstract

#include <XrdPoll.hh>

Inheritance diagram for XrdPoll:
Inheritance graph
[legend]
Collaboration diagram for XrdPoll:
Collaboration graph
[legend]

Classes

struct  PipeData
 

Public Member Functions

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

Static Public Member Functions

static int Attach (XrdPollInfo &pInfo)
 
static void Detach (XrdPollInfo &pInfo)
 
static int Finish (XrdPollInfo &pInfo, const char *etxt=0)
 
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 [XRD_NUMPOLLERS]
 

Protected Member Functions

int getRequest ()
 
virtual void Exclude (XrdPollInfo &pInfo)=0
 
virtual int Include (XrdPollInfo &pInfo)=0
 

Static Protected Member Functions

static XrdPollnewPoller (int pollid, int numfd)
 

Protected Attributes

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

Static Protected Attributes

static const char * TraceID
 

Private Attributes

int numAttached
 

Static Private Attributes

static XrdSysMutex doingAttach
 

Constructor & Destructor Documentation

◆ XrdPoll()

XrdPoll::XrdPoll ( )

◆ ~XrdPoll()

virtual XrdPoll::~XrdPoll ( )
inlinevirtual

Member Function Documentation

◆ Attach()

static int XrdPoll::Attach ( XrdPollInfo pInfo)
static

◆ Detach()

static void XrdPoll::Detach ( XrdPollInfo pInfo)
static

◆ Disable()

virtual void XrdPoll::Disable ( XrdPollInfo pInfo,
const char *  etxt = 0 
)
pure virtual

Implemented in XrdPollE, and XrdPollPoll.

◆ Enable()

virtual int XrdPoll::Enable ( XrdPollInfo pInfo)
pure virtual

Implemented in XrdPollE, and XrdPollPoll.

◆ Exclude()

virtual void XrdPoll::Exclude ( XrdPollInfo pInfo)
protectedpure virtual

Implemented in XrdPollE, and XrdPollPoll.

◆ Finish()

static int XrdPoll::Finish ( XrdPollInfo pInfo,
const char *  etxt = 0 
)
static

◆ getRequest()

int XrdPoll::getRequest ( )
protected

◆ Include()

virtual int XrdPoll::Include ( XrdPollInfo pInfo)
protectedpure virtual

Implemented in XrdPollE, and XrdPollPoll.

◆ 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

Implemented in XrdPollE, and XrdPollPoll.

◆ Stats()

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

Member Data Documentation

◆ CmdFD

int XrdPoll::CmdFD
protected

◆ doingAttach

XrdSysMutex XrdPoll::doingAttach
staticprivate

◆ numAttached

int XrdPoll::numAttached
private

◆ numEnabled

int XrdPoll::numEnabled
protected

◆ numEvents

int XrdPoll::numEvents
protected

◆ numInterrupts

int XrdPoll::numInterrupts
protected

◆ PID

int XrdPoll::PID

◆ PipeBlen

int XrdPoll::PipeBlen
protected

◆ PipeBuff

char* XrdPoll::PipeBuff
protected

◆ PipePoll

struct pollfd XrdPoll::PipePoll
protected

◆ Pollers

XrdPoll* XrdPoll::Pollers[XRD_NUMPOLLERS]
static

◆ PollPipe

XrdSysMutex XrdPoll::PollPipe
protected

◆ ReqBuff

PipeData XrdPoll::ReqBuff
protected

◆ ReqFD

int XrdPoll::ReqFD
protected

◆ TID

pthread_t XrdPoll::TID

◆ TraceID

const char* XrdPoll::TraceID
staticprotected

The documentation for this class was generated from the following file: