#include <XrdCmsPList.hh>

Public Member Functions | |
| void | Lock () |
| void | UnLock () |
| void | Empty (XrdCmsPList *newlist=0) |
| int | Find (const char *pname, XrdCmsPInfo &masks) |
| XrdCmsPList * | First () |
| SMask_t | Insert (const char *pname, XrdCmsPInfo *pinfo) |
| int | NotEmpty () |
| void | Remove (SMask_t mask) |
| const char * | Type (const char *pname) |
| XrdCmsPList * | Zorch (XrdCmsPList *newlist=0) |
| XrdCmsPList_Anchor () | |
| ~XrdCmsPList_Anchor () | |
Private Attributes | |
| XrdSysMutex | mutex |
| XrdCmsPList * | next |
| XrdCmsPList_Anchor::XrdCmsPList_Anchor | ( | ) | [inline] |
References next.
| XrdCmsPList_Anchor::~XrdCmsPList_Anchor | ( | ) | [inline] |
References Empty().
| void XrdCmsPList_Anchor::Empty | ( | XrdCmsPList * | newlist = 0 |
) | [inline] |
References Lock(), XrdCmsPList::next, next, and UnLock().
Referenced by ~XrdCmsPList_Anchor().
| int XrdCmsPList_Anchor::Find | ( | const char * | pname, | |
| XrdCmsPInfo & | masks | |||
| ) |
References Lock(), XrdCmsPList::next, next, XrdCmsPList::pathlen, XrdCmsPList::pathmask, XrdCmsPList::pathname, and UnLock().
Referenced by XrdCmsNode::do_Have(), XrdOlbServer::do_PrepSel(), XrdOlbServer::do_Select(), XrdOlbServer::do_StateFWD(), XrdCmsNode::do_StateFWD(), XrdCmsNode::do_StatFS(), XrdCmsCluster::Locate(), XrdCmsConfig::MergeP(), XrdOlbServer::Reissue(), XrdCmsProtocol::Reissue(), and XrdCmsCluster::Select().
| XrdCmsPList* XrdCmsPList_Anchor::First | ( | ) | [inline] |
References next.
Referenced by XrdOlbServer::Login(), and XrdCmsConfig::MergeP().
| SMask_t XrdCmsPList_Anchor::Insert | ( | const char * | pname, | |
| XrdCmsPInfo * | pinfo | |||
| ) |
References XrdCmsPInfo::And(), Lock(), XrdCmsPList::next, next, XrdCmsPInfo::Or(), XrdCmsPList::pathlen, XrdCmsPList::pathmask, XrdCmsPList::pathname, XrdCmsPInfo::rovec, XrdCmsPInfo::rwvec, and UnLock().
Referenced by XrdOlbManager::AddPath(), XrdCmsProtocol::AddPath(), XrdCmsProtocol::Admit(), XrdOlbManager::Login(), and XrdCmsConfig::MergeP().
| void XrdCmsPList_Anchor::Lock | ( | ) | [inline] |
| int XrdCmsPList_Anchor::NotEmpty | ( | ) | [inline] |
References next.
| void XrdCmsPList_Anchor::Remove | ( | SMask_t | mask | ) |
References XrdCmsPInfo::And(), Lock(), XrdCmsPList::next, next, XrdCmsPList::pathmask, and UnLock().
Referenced by XrdCmsProtocol::ConfigCheck(), XrdCmsCache::Drop(), and XrdOlbServer::~XrdOlbServer().
| const char * XrdCmsPList_Anchor::Type | ( | const char * | pname | ) |
References Lock(), XrdCmsPList::next, next, XrdCmsPList::pathlen, XrdCmsPList::pathmask, XrdCmsPList::pathname, XrdCmsPInfo::rwvec, and UnLock().
Referenced by XrdOlbServer::do_State().
| void XrdCmsPList_Anchor::UnLock | ( | ) | [inline] |
| XrdCmsPList* XrdCmsPList_Anchor::Zorch | ( | XrdCmsPList * | newlist = 0 |
) | [inline] |
XrdSysMutex XrdCmsPList_Anchor::mutex [private] |
XrdCmsPList* XrdCmsPList_Anchor::next [private] |
Referenced by Empty(), Find(), First(), Insert(), NotEmpty(), Remove(), Type(), XrdCmsPList_Anchor(), and Zorch().
1.7.1