XrdPoll Class Reference

#include <XrdPoll.hh>

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

List of all members.

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 (  )  [inline, virtual]

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  )  [protected, pure 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  )  [protected, pure virtual]

Implemented in XrdPollE, and XrdPollPoll.

static XrdPoll* XrdPoll::newPoller ( int  pollid,
int  numfd 
) [static, protected]
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 [static, private]
int XrdPoll::numAttached [private]
int XrdPoll::numEnabled [protected]
int XrdPoll::numEvents [protected]
int XrdPoll::numInterrupts [protected]
int XrdPoll::PipeBlen [protected]
char* XrdPoll::PipeBuff [protected]
struct pollfd XrdPoll::PipePoll [read, protected]
XrdPoll* XrdPoll::Pollers[XRD_NUMPOLLERS] [static]
int XrdPoll::ReqFD [protected]
pthread_t XrdPoll::TID
const char* XrdPoll::TraceID [static, protected]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 7 Jul 2020 for xrootd by  doxygen 1.6.1