Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes

XrdOlbRRQ Class Reference

#include <XrdOlbRRQ.hh>

Collaboration diagram for XrdOlbRRQ:
Collaboration graph
[legend]

List of all members.

Public Member Functions

short Add (short Snum, XrdOlbRRQInfo *ip)
void Del (short Snum, const void *Key)
int Init (int Tint=0, int Tdly=0)
void Ready (int Snum, const void *Key, SMask_t mask)
void * Respond ()
void * TimeOut ()
 XrdOlbRRQ ()
 ~XrdOlbRRQ ()

Private Member Functions

XrdOlbRRQSlotsendLocInfo (XrdOlbRRQSlot *Sp)
void sendResponse (XrdOlbRRQInfo *Info, int doredir)

Private Attributes

XrdSysMutex myMutex
XrdSysSemaphore isWaiting
XrdSysSemaphore isReady
XrdOlbRRQSlot Slot [numSlots]
XrdOucDLlist< XrdOlbRRQSlotwaitQ
XrdOucDLlist< XrdOlbRRQSlotreadyQ
struct iovec redr_iov [redr_iov_cnt]
struct iovec wait_iov [wait_iov_cnt]
char hostbuff [288]
char waitbuff [16]
int Tslice
int Tdelay
unsigned int myClock

Static Private Attributes

static const int numSlots = 1024
static const int redr_iov_cnt = 3
static const int wait_iov_cnt = 2

Constructor & Destructor Documentation

XrdOlbRRQ::XrdOlbRRQ (  )  [inline]
XrdOlbRRQ::~XrdOlbRRQ (  )  [inline]

Member Function Documentation

short XrdOlbRRQ::Add ( short  Snum,
XrdOlbRRQInfo ip 
)
void XrdOlbRRQ::Del ( short  Snum,
const void *  Key 
)

References Ready().

int XrdOlbRRQ::Init ( int  Tint = 0,
int  Tdly = 0 
)
void XrdOlbRRQ::Ready ( int  Snum,
const void *  Key,
SMask_t  mask 
)
void * XrdOlbRRQ::Respond (  ) 
XrdOlbRRQSlot * XrdOlbRRQ::sendLocInfo ( XrdOlbRRQSlot Sp  )  [private]
void XrdOlbRRQ::sendResponse ( XrdOlbRRQInfo Info,
int  doredir 
) [private]
void * XrdOlbRRQ::TimeOut (  ) 

Member Data Documentation

char XrdOlbRRQ::hostbuff[288] [private]

Referenced by Init(), and Respond().

Referenced by Ready(), Respond(), and TimeOut().

Referenced by Add(), and TimeOut().

unsigned int XrdOlbRRQ::myClock [private]

Referenced by Add(), and TimeOut().

Referenced by Add(), Ready(), Respond(), and TimeOut().

const int XrdOlbRRQ::numSlots = 1024 [static, private]

Referenced by Ready(), Respond(), and TimeOut().

Referenced by Init(), Respond(), and sendResponse().

const int XrdOlbRRQ::redr_iov_cnt = 3 [static, private]

Referenced by sendResponse().

Referenced by Add(), and Ready().

int XrdOlbRRQ::Tdelay [private]

Referenced by Init().

int XrdOlbRRQ::Tslice [private]

Referenced by Init(), and TimeOut().

Referenced by Init(), and sendResponse().

const int XrdOlbRRQ::wait_iov_cnt = 2 [static, private]

Referenced by sendResponse().

char XrdOlbRRQ::waitbuff[16] [private]

Referenced by Init().

Referenced by Add(), and TimeOut().


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