xrootd
Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Private Member Functions | Private Attributes | Static Private Attributes | List of all members
XrdBwmHandle Class Reference

#include <XrdBwmHandle.hh>

Collaboration diagram for XrdBwmHandle:
Collaboration graph
[legend]

Classes

class  theEICB
 

Public Types

enum  HandleState { Idle = 0, Scheduled, Dispatched }
 

Public Member Functions

int Activate (XrdOucErrInfo &einfo)
 
const char * Name ()
 
void Retire ()
 
 XrdBwmHandle ()
 
 ~XrdBwmHandle ()
 

Static Public Member Functions

static XrdBwmHandleAlloc (const char *theUsr, const char *thePath, const char *lclNode, const char *rmtNode, int Incomming)
 
static void * Dispatch ()
 
static int setPolicy (XrdBwmPolicy *pP, XrdBwmLogger *lP)
 

Public Attributes

HandleState Status
 

Static Private Member Functions

static XrdBwmHandleAlloc (XrdBwmHandle *oldHandle=0)
 
static XrdBwmHandlerefHandle (int refID, XrdBwmHandle *hP=0)
 

Private Attributes

XrdSysMutex hMutex
 
XrdBwmPolicy::SchedParms Parms
 
XrdBwmHandleNext
 
XrdOucEICBErrCB
 
unsigned long long ErrCBarg
 
time_t qTime
 
time_t rTime
 
long long xSize
 
long xTime
 
int rHandle
 
XrdBwmHandle::theEICB myEICB
 

Static Private Attributes

static XrdBwmPolicyPolicy = 0
 
static XrdBwmLoggerLogger = 0
 
static XrdBwmHandleFree = 0
 
static unsigned int numQueued = 0
 

Member Enumeration Documentation

Enumerator
Idle 
Scheduled 
Dispatched 

Constructor & Destructor Documentation

XrdBwmHandle::XrdBwmHandle ( )
inline

Referenced by Alloc().

XrdBwmHandle::~XrdBwmHandle ( )
inline

Member Function Documentation

int XrdBwmHandle::Activate ( XrdOucErrInfo einfo)
XrdBwmHandle * XrdBwmHandle::Alloc ( const char *  theUsr,
const char *  thePath,
const char *  lclNode,
const char *  rmtNode,
int  Incomming 
)
static
XrdBwmHandle * XrdBwmHandle::Alloc ( XrdBwmHandle oldHandle = 0)
staticprivate
void * XrdBwmHandle::Dispatch ( )
static
const char* XrdBwmHandle::Name ( )
inline
XrdBwmHandle * XrdBwmHandle::refHandle ( int  refID,
XrdBwmHandle hP = 0 
)
staticprivate
void XrdBwmHandle::Retire ( )
int XrdBwmHandle::setPolicy ( XrdBwmPolicy pP,
XrdBwmLogger lP 
)
static

Member Data Documentation

XrdOucEICB* XrdBwmHandle::ErrCB
private

Referenced by Activate(), and Dispatch().

unsigned long long XrdBwmHandle::ErrCBarg
private

Referenced by Activate(), and Dispatch().

XrdBwmHandle * XrdBwmHandle::Free = 0
staticprivate

Referenced by Alloc().

XrdSysMutex XrdBwmHandle::hMutex
private

Referenced by Activate(), Dispatch(), and Retire().

XrdBwmLogger * XrdBwmHandle::Logger = 0
staticprivate

Referenced by Retire(), and setPolicy().

XrdBwmHandle::theEICB XrdBwmHandle::myEICB
private

Referenced by Activate(), and Dispatch().

XrdBwmHandle* XrdBwmHandle::Next
private

Referenced by Alloc(), and refHandle().

unsigned int XrdBwmHandle::numQueued = 0
staticprivate

Referenced by refHandle().

XrdBwmPolicy::SchedParms XrdBwmHandle::Parms
private

Referenced by Activate(), Alloc(), Dispatch(), Name(), and Retire().

XrdBwmPolicy * XrdBwmHandle::Policy = 0
staticprivate

Referenced by Activate(), Dispatch(), Retire(), and setPolicy().

time_t XrdBwmHandle::qTime
private

Referenced by Activate(), Alloc(), and Retire().

int XrdBwmHandle::rHandle
private

Referenced by Activate(), refHandle(), and Retire().

time_t XrdBwmHandle::rTime
private

Referenced by Activate(), Alloc(), Dispatch(), and Retire().

HandleState XrdBwmHandle::Status

Referenced by Activate(), Alloc(), Dispatch(), and Retire().

long long XrdBwmHandle::xSize
private

Referenced by Alloc(), and Retire().

long XrdBwmHandle::xTime
private

Referenced by Alloc(), and Retire().


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