xrootd
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes | List of all members
XrdCmsClientMsg Class Reference

#include <XrdCmsClientMsg.hh>

Collaboration diagram for XrdCmsClientMsg:
Collaboration graph
[legend]

Public Member Functions

int getResult ()
 
int ID ()
 
void Lock ()
 
void Recycle ()
 
void UnLock ()
 
int Wait4Reply (int wtime)
 
 XrdCmsClientMsg ()
 
 ~XrdCmsClientMsg ()
 

Static Public Member Functions

static XrdCmsClientMsgAlloc (XrdOucErrInfo *erp)
 
static int Init ()
 
static int inQ ()
 
static int Reply (const char *Man, XrdCms::CmsRRHdr &hdr, XrdOucBuffer *buff)
 

Static Private Member Functions

static XrdCmsClientMsgRemFromWaitQ (int msgid)
 

Private Attributes

XrdCmsClientMsgnext
 
XrdSysCondVar Hold
 
int inwaitq
 
int id
 
XrdOucErrInfoResp
 
int Result
 

Static Private Attributes

static const int MidMask = 1023
 
static const int MaxMsgs = 1024
 
static const int MidIncr = 1024
 
static const int IncMask = 0x3ffffc00
 
static int nextid
 
static int numinQ
 
static XrdCmsClientMsgmsgTab
 
static XrdCmsClientMsgnextfree
 
static XrdSysMutex FreeMsgQ
 

Constructor & Destructor Documentation

◆ XrdCmsClientMsg()

XrdCmsClientMsg::XrdCmsClientMsg ( )
inline

References inwaitq, next, Resp, and Result.

◆ ~XrdCmsClientMsg()

XrdCmsClientMsg::~XrdCmsClientMsg ( )
inline

Member Function Documentation

◆ Alloc()

static XrdCmsClientMsg * XrdCmsClientMsg::Alloc ( XrdOucErrInfo erp)
static

◆ getResult()

int XrdCmsClientMsg::getResult ( )
inline

References Result.

◆ ID()

int XrdCmsClientMsg::ID ( )
inline

References id.

◆ Init()

static int XrdCmsClientMsg::Init ( )
static

◆ inQ()

static int XrdCmsClientMsg::inQ ( )
inlinestatic

References numinQ.

◆ Lock()

void XrdCmsClientMsg::Lock ( )
inline

References Hold, and XrdSysCondVar::Lock().

◆ Recycle()

void XrdCmsClientMsg::Recycle ( )

◆ RemFromWaitQ()

static XrdCmsClientMsg * XrdCmsClientMsg::RemFromWaitQ ( int  msgid)
staticprivate

◆ Reply()

static int XrdCmsClientMsg::Reply ( const char *  Man,
XrdCms::CmsRRHdr hdr,
XrdOucBuffer buff 
)
static

◆ UnLock()

void XrdCmsClientMsg::UnLock ( )
inline

References Hold, and XrdSysCondVar::UnLock().

◆ Wait4Reply()

int XrdCmsClientMsg::Wait4Reply ( int  wtime)
inline

References Hold, and XrdSysCondVar::Wait().

Member Data Documentation

◆ FreeMsgQ

XrdSysMutex XrdCmsClientMsg::FreeMsgQ
staticprivate

◆ Hold

XrdSysCondVar XrdCmsClientMsg::Hold
private

Referenced by Lock(), UnLock(), and Wait4Reply().

◆ id

int XrdCmsClientMsg::id
private

Referenced by ID().

◆ IncMask

const int XrdCmsClientMsg::IncMask = 0x3ffffc00
staticprivate

◆ inwaitq

int XrdCmsClientMsg::inwaitq
private

Referenced by XrdCmsClientMsg().

◆ MaxMsgs

const int XrdCmsClientMsg::MaxMsgs = 1024
staticprivate

◆ MidIncr

const int XrdCmsClientMsg::MidIncr = 1024
staticprivate

◆ MidMask

const int XrdCmsClientMsg::MidMask = 1023
staticprivate

◆ msgTab

XrdCmsClientMsg* XrdCmsClientMsg::msgTab
staticprivate

◆ next

XrdCmsClientMsg* XrdCmsClientMsg::next
private

Referenced by XrdCmsClientMsg().

◆ nextfree

XrdCmsClientMsg* XrdCmsClientMsg::nextfree
staticprivate

◆ nextid

int XrdCmsClientMsg::nextid
staticprivate

◆ numinQ

int XrdCmsClientMsg::numinQ
staticprivate

Referenced by inQ().

◆ Resp

XrdOucErrInfo* XrdCmsClientMsg::Resp
private

Referenced by XrdCmsClientMsg().

◆ Result

int XrdCmsClientMsg::Result
private

Referenced by getResult(), and XrdCmsClientMsg().


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