xrootd
|
#include <XrdCmsManList.hh>
Public Member Functions | |
void | Add (unsigned int refp, char *manp, int manport, int lvl) |
void | Del (unsigned int refp) |
int | haveAlts () |
int | Next (int &port, char *buff, int bsz) |
XrdCmsManList () | |
~XrdCmsManList () | |
Private Attributes | |
XrdSysMutex | mlMutex |
XrdCmsManRef * | nextMan |
XrdCmsManRef * | allMans |
XrdCmsManList::~XrdCmsManList | ( | ) |
References XrdCmsManRef::Next.
void XrdCmsManList::Add | ( | unsigned int | refp, |
char * | manp, | ||
int | manport, | ||
int | lvl | ||
) |
References XrdNetDNS::getHostAddr(), XrdNetDNS::getHostName(), index(), XrdCmsManRef::Next, and XrdMonCtrCollector::port.
Referenced by XrdCmsNode::do_Try(), and XrdCmsProtocol::Pander().
void XrdCmsManList::Del | ( | unsigned int | refp | ) |
References XrdCmsManRef::Next.
Referenced by XrdCmsNode::do_Try(), and XrdCmsProtocol::Pander().
int XrdCmsManList::haveAlts | ( | ) | [inline] |
References allMans.
int XrdCmsManList::Next | ( | int & | port, |
char * | buff, | ||
int | bsz | ||
) |
References XrdCmsManRef::Manager, XrdCmsManRef::ManLvl, XrdCmsManRef::ManPort, XrdCmsManRef::Next, and strlcpy().
Referenced by XrdCmsProtocol::Pander().
XrdCmsManRef* XrdCmsManList::allMans [private] |
Referenced by haveAlts(), and XrdCmsManList().
XrdSysMutex XrdCmsManList::mlMutex [private] |
XrdCmsManRef* XrdCmsManList::nextMan [private] |
Referenced by XrdCmsManList().