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

XrdCmsRRQ Class Reference

#include <XrdCmsRRQ.hh>

Collaboration diagram for XrdCmsRRQ:
Collaboration graph
[legend]

List of all members.

Public Member Functions

short Add (short Snum, XrdCmsRRQInfo *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 mask1, SMask_t mask2)
void * Respond ()
void * TimeOut ()
 XrdCmsRRQ ()
 ~XrdCmsRRQ ()

Private Member Functions

void sendLocResp (XrdCmsRRQSlot *lP)
void sendResponse (XrdCmsRRQInfo *Info, int doredir, int totlen=0)

Private Attributes

XrdSysMutex myMutex
XrdSysSemaphore isWaiting
XrdSysSemaphore isReady
XrdCmsRRQSlot Slot [numSlots]
XrdOucDLlist< XrdCmsRRQSlotwaitQ
XrdOucDLlist< XrdCmsRRQSlotreadyQ
struct iovec data_iov [iov_cnt]
struct iovec redr_iov [iov_cnt]
XrdCms::CmsResponse dataResp
XrdCms::CmsResponse redrResp
XrdCms::CmsResponse waitResp
union {
   char   hostbuff [288]
   char   databuff [XrdCms::CmsLocateRequest::RILen *STMax]
}; 
int Tslice
int Tdelay
unsigned int myClock

Static Private Attributes

static const int numSlots = 1024
static const int iov_cnt = 2

Constructor & Destructor Documentation

XrdCmsRRQ::XrdCmsRRQ (  )  [inline]
XrdCmsRRQ::~XrdCmsRRQ (  )  [inline]

Member Function Documentation

short XrdCmsRRQ::Add ( short  Snum,
XrdCmsRRQInfo ip 
)
void XrdCmsRRQ::Del ( short  Snum,
const void *  Key 
)
int XrdCmsRRQ::Init ( int  Tint = 0,
int  Tdly = 0 
)
void XrdCmsRRQ::Ready ( int  Snum,
const void *  Key,
SMask_t  mask1,
SMask_t  mask2 
)
void * XrdCmsRRQ::Respond (  ) 
void XrdCmsRRQ::sendLocResp ( XrdCmsRRQSlot lP  )  [private]
void XrdCmsRRQ::sendResponse ( XrdCmsRRQInfo Info,
int  doredir,
int  totlen = 0 
) [private]
void * XrdCmsRRQ::TimeOut (  ) 

Member Data Documentation

union { ... } [private]
struct iovec XrdCmsRRQ::data_iov[iov_cnt] [private]

Referenced by Init(), and sendLocResp().

Referenced by Init(), and sendLocResp().

Referenced by Init(), and sendLocResp().

Referenced by Init(), and Respond().

const int XrdCmsRRQ::iov_cnt = 2 [static, private]

Referenced by sendLocResp(), and sendResponse().

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

Referenced by Add(), and TimeOut().

unsigned int XrdCmsRRQ::myClock [private]

Referenced by Add(), and TimeOut().

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

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

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

struct iovec XrdCmsRRQ::redr_iov[iov_cnt] [private]

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

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

Referenced by Add(), and Ready().

int XrdCmsRRQ::Tdelay [private]

Referenced by Init().

int XrdCmsRRQ::Tslice [private]

Referenced by Init(), and TimeOut().

Referenced by Add(), and TimeOut().

Referenced by Init(), and sendResponse().


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