XrdCmsClientMsg Class Reference

#include <XrdCmsClientMsg.hh>

Collaboration diagram for XrdCmsClientMsg:
Collaboration graph
[legend]

List of all members.

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 (  )  [inline]

References inwaitq, next, Resp, and Result.

XrdCmsClientMsg::~XrdCmsClientMsg (  )  [inline]

Member Function Documentation

static XrdCmsClientMsg* XrdCmsClientMsg::Alloc ( XrdOucErrInfo erp  )  [static]
int XrdCmsClientMsg::getResult (  )  [inline]

References Result.

int XrdCmsClientMsg::ID (  )  [inline]

References id.

static int XrdCmsClientMsg::Init (  )  [static]
static int XrdCmsClientMsg::inQ (  )  [inline, static]

References numinQ.

void XrdCmsClientMsg::Lock (  )  [inline]

References Hold, and XrdSysCondVar::Lock().

void XrdCmsClientMsg::Recycle (  ) 
static XrdCmsClientMsg* XrdCmsClientMsg::RemFromWaitQ ( int  msgid  )  [static, private]
static int XrdCmsClientMsg::Reply ( const char *  Man,
XrdCms::CmsRRHdr hdr,
XrdOucBuffer buff 
) [static]
void XrdCmsClientMsg::UnLock (  )  [inline]

References Hold, and XrdSysCondVar::UnLock().

int XrdCmsClientMsg::Wait4Reply ( int  wtime  )  [inline]

References Hold, and XrdSysCondVar::Wait().


Member Data Documentation

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

int XrdCmsClientMsg::id [private]

Referenced by ID().

const int XrdCmsClientMsg::IncMask = 0x3ffffc00 [static, private]
int XrdCmsClientMsg::inwaitq [private]

Referenced by XrdCmsClientMsg().

const int XrdCmsClientMsg::MaxMsgs = 1024 [static, private]
const int XrdCmsClientMsg::MidIncr = 1024 [static, private]
const int XrdCmsClientMsg::MidMask = 1023 [static, private]

Referenced by XrdCmsClientMsg().

int XrdCmsClientMsg::nextid [static, private]
int XrdCmsClientMsg::numinQ [static, private]

Referenced by inQ().

Referenced by XrdCmsClientMsg().

int XrdCmsClientMsg::Result [private]

Referenced by getResult(), and XrdCmsClientMsg().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 16 Jul 2020 for xrootd by  doxygen 1.6.1