#include <XrdCmsRTable.hh>

Public Member Functions | |
| short | Add (XrdCmsNode *nP) |
| void | Del (XrdCmsNode *nP) |
| XrdCmsNode * | Find (short Num, int Inst) |
| void | Send (const char *What, const char *data, int dlen) |
| void | Lock () |
| void | UnLock () |
| XrdCmsRTable () | |
| ~XrdCmsRTable () | |
Private Attributes | |
| XrdSysMutex | myMutex |
| XrdCmsNode * | Rtable [maxRD] |
| int | Hwm |
| XrdCmsRTable::~XrdCmsRTable | ( | ) | [inline] |
| short XrdCmsRTable::Add | ( | XrdCmsNode * | nP | ) |
References Hwm, XrdSysMutex::Lock(), myMutex, Rtable, and XrdSysMutex::UnLock().
Referenced by XrdCmsProtocol::Admit_Redirector(), and XrdOlbManager::Login().
| void XrdCmsRTable::Del | ( | XrdCmsNode * | nP | ) |
References Hwm, XrdSysMutex::Lock(), myMutex, Rtable, and XrdSysMutex::UnLock().
Referenced by XrdOlbManager::Login(), and XrdCmsProtocol::Process().
| XrdCmsNode * XrdCmsRTable::Find | ( | short | Num, | |
| int | Inst | |||
| ) |
| void XrdCmsRTable::Lock | ( | ) | [inline] |
References XrdSysMutex::Lock(), and myMutex.
Referenced by XrdOlbReq::Reply(), XrdCmsReq::Reply(), XrdOlbRRQ::sendLocInfo(), XrdCmsRRQ::sendLocResp(), XrdOlbRRQ::sendResponse(), and XrdCmsRRQ::sendResponse().
| void XrdCmsRTable::Send | ( | const char * | What, | |
| const char * | data, | |||
| int | dlen | |||
| ) |
References DEBUG, EPNAME, Hwm, XrdSysMutex::Lock(), myMutex, Rtable, XrdCmsNode::Send(), and XrdSysMutex::UnLock().
Referenced by XrdCmsState::Monitor().
| void XrdCmsRTable::UnLock | ( | ) | [inline] |
References myMutex, and XrdSysMutex::UnLock().
Referenced by XrdOlbReq::Reply(), XrdCmsReq::Reply(), XrdOlbRRQ::sendLocInfo(), XrdCmsRRQ::sendLocResp(), XrdOlbRRQ::sendResponse(), and XrdCmsRRQ::sendResponse().
int XrdCmsRTable::Hwm [private] |
Referenced by Add(), Del(), Find(), Send(), and XrdCmsRTable().
XrdSysMutex XrdCmsRTable::myMutex [private] |
XrdCmsNode* XrdCmsRTable::Rtable[maxRD] [private] |
Referenced by Add(), Del(), Find(), Send(), and XrdCmsRTable().
1.7.1