xrootd
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 ( )
virtual XrdPoll::~XrdPoll ( )
inlinevirtual

Member Function Documentation

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

Implemented in XrdPollE, and XrdPollPoll.

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

Implemented in XrdPollE, and XrdPollPoll.

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

Implemented in XrdPollE, and XrdPollPoll.

static int XrdPoll::Finish ( XrdPollInfo pInfo,
const char *  etxt = 0 
)
static
int XrdPoll::getRequest ( )
protected
virtual int XrdPoll::Include ( XrdPollInfo pInfo)
protectedpure virtual

Implemented in XrdPollE, and XrdPollPoll.

static XrdPoll* XrdPoll::newPoller ( int  pollid,
int  numfd 
)
staticprotected
static char* XrdPoll::Poll2Text ( short  events)
static
static int XrdPoll::Setup ( int  numfd)
static
virtual void XrdPoll::Start ( XrdSysSemaphore syncp,
int &  rc 
)
pure virtual

Implemented in XrdPollE, and XrdPollPoll.

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

Member Data Documentation

int XrdPoll::CmdFD
protected
XrdSysMutex XrdPoll::doingAttach
staticprivate
int XrdPoll::numAttached
private
int XrdPoll::numEnabled
protected
int XrdPoll::numEvents
protected
int XrdPoll::numInterrupts
protected
int XrdPoll::PID
int XrdPoll::PipeBlen
protected
char* XrdPoll::PipeBuff
protected
struct pollfd XrdPoll::PipePoll
protected
XrdPoll* XrdPoll::Pollers[XRD_NUMPOLLERS]
static
XrdSysMutex XrdPoll::PollPipe
protected
PipeData XrdPoll::ReqBuff
protected
int XrdPoll::ReqFD
protected
pthread_t XrdPoll::TID
const char* XrdPoll::TraceID
staticprotected

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