#include <XrdCmsClientMsg.hh>

Public Member Functions | |
| int | getResult () |
| int | ID () |
| void | Lock () |
| void | Recycle () |
| void | UnLock () |
| int | Wait4Reply (int wtime) |
| XrdCmsClientMsg () | |
| ~XrdCmsClientMsg () | |
Static Public Member Functions | |
| static XrdCmsClientMsg * | Alloc (XrdOucErrInfo *erp) |
| static int | Init () |
| static int | inQ () |
| static int | Reply (const char *Man, XrdCms::CmsRRHdr &hdr, XrdOucBuffer *buff) |
Static Private Member Functions | |
| static XrdCmsClientMsg * | RemFromWaitQ (int msgid) |
Private Attributes | |
| XrdCmsClientMsg * | next |
| XrdSysCondVar | Hold |
| int | inwaitq |
| int | id |
| XrdOucErrInfo * | Resp |
| 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 XrdCmsClientMsg * | msgTab |
| static XrdCmsClientMsg * | nextfree |
| static XrdSysMutex | FreeMsgQ |
| XrdCmsClientMsg::~XrdCmsClientMsg | ( | ) | [inline] |
| 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().
XrdSysMutex XrdCmsClientMsg::FreeMsgQ [static, private] |
XrdSysCondVar XrdCmsClientMsg::Hold [private] |
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] |
XrdCmsClientMsg* XrdCmsClientMsg::msgTab [static, private] |
XrdCmsClientMsg* XrdCmsClientMsg::next [private] |
Referenced by XrdCmsClientMsg().
XrdCmsClientMsg* XrdCmsClientMsg::nextfree [static, private] |
int XrdCmsClientMsg::nextid [static, private] |
int XrdCmsClientMsg::numinQ [static, private] |
Referenced by inQ().
XrdOucErrInfo* XrdCmsClientMsg::Resp [private] |
Referenced by XrdCmsClientMsg().
int XrdCmsClientMsg::Result [private] |
Referenced by getResult(), and XrdCmsClientMsg().
1.6.1