Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

XrdPoll Class Reference

#include <XrdPoll.hh>

Inheritance diagram for XrdPoll:

Inheritance graph
[legend]
Collaboration diagram for XrdPoll:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

Static Public Member Functions

int Attach (XrdLink *lp)
void Detach (XrdLink *lp)
int Finish (XrdLink *lp, const char *etxt=0)
char * Poll2Text (short events)
int Setup (int numfd)
int Stats (char *buff, int blen, int do_sync=0)

Public Attributes

int PID
pthread_t TID

Static Public Attributes

XrdPollPollers [XRD_NUMPOLLERS] = {0, 0, 0}

Protected Member Functions

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

Static Protected Member Functions

XrdPollnewPoller (int pollid, int numfd)

Protected Attributes

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

Static Protected Attributes

const char * TraceID = "Poll"

Private Attributes

int numAttached

Static Private Attributes

XrdSysMutex doingAttach

Constructor & Destructor Documentation

XrdPoll::XrdPoll  ) 
 

virtual XrdPoll::~XrdPoll  )  [inline, virtual]
 


Member Function Documentation

int XrdPoll::Attach XrdLink lp  )  [static]
 

void XrdPoll::Detach XrdLink lp  )  [static]
 

Reimplemented in XrdPollPoll.

virtual void XrdPoll::Disable XrdLink lp,
const char *  etxt = 0
[pure virtual]
 

Implemented in XrdPollDev, XrdPollE, and XrdPollPoll.

virtual int XrdPoll::Enable XrdLink lp  )  [pure virtual]
 

Implemented in XrdPollDev, XrdPollE, and XrdPollPoll.

virtual void XrdPoll::Exclude XrdLink lp  )  [protected, pure virtual]
 

Implemented in XrdPollDev, XrdPollE, and XrdPollPoll.

int XrdPoll::Finish XrdLink lp,
const char *  etxt = 0
[static]
 

int XrdPoll::getRequest  )  [protected]
 

virtual int XrdPoll::Include XrdLink lp  )  [protected, pure virtual]
 

Implemented in XrdPollDev, XrdPollE, and XrdPollPoll.

XrdPoll * XrdPoll::newPoller int  pollid,
int  numfd
[static, protected]
 

char * XrdPoll::Poll2Text short  events  )  [static]
 

int XrdPoll::Setup int  numfd  )  [static]
 

virtual void XrdPoll::Start XrdSysSemaphore syncp,
int &  rc
[pure virtual]
 

Implemented in XrdPollDev, XrdPollE, and XrdPollPoll.

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::PID
 

int XrdPoll::PipeBlen [protected]
 

char* XrdPoll::PipeBuff [protected]
 

struct pollfd XrdPoll::PipePoll [protected]
 

XrdPoll * XrdPoll::Pollers = {0, 0, 0} [static]
 

XrdSysMutex XrdPoll::PollPipe [protected]
 

PipeData XrdPoll::ReqBuff [protected]
 

int XrdPoll::ReqFD [protected]
 

pthread_t XrdPoll::TID
 

const char * XrdPoll::TraceID = "Poll" [static, protected]
 


The documentation for this class was generated from the following files:
Generated on Sun Nov 6 13:37:13 2011 for xrootd by  doxygen 1.3.9.1