![]() |
XRootD
|
#include <XrdCmsManList.hh>
Public Member Functions | |
XrdCmsManList () | |
~XrdCmsManList () | |
void | Add (const XrdNetAddr *netAddr, char *redList, int manport, int lvl) |
void | Del (const XrdNetAddr *refP) |
void | Del (int ref) |
int | getRef (const XrdNetAddr *refP) |
int | haveAlts () |
int | Next (int &port, char *buff, int bsz) |
Definition at line 39 of file XrdCmsManList.hh.
|
inline |
Definition at line 67 of file XrdCmsManList.hh.
XrdCmsManList::~XrdCmsManList | ( | ) |
Definition at line 66 of file XrdCmsManList.cc.
References XrdCmsManRef::Next.
void XrdCmsManList::Add | ( | const XrdNetAddr * | netAddr, |
char * | redList, | ||
int | manport, | ||
int | lvl | ||
) |
Definition at line 78 of file XrdCmsManList.cc.
References Del(), XrdOucTokenizer::GetLine(), getRef(), and XrdOucTokenizer::GetToken().
|
inline |
void XrdCmsManList::Del | ( | int | ref | ) |
Definition at line 153 of file XrdCmsManList.cc.
References XrdSysMutex::Lock(), XrdCmsManRef::Next, and XrdSysMutex::UnLock().
int XrdCmsManList::getRef | ( | const XrdNetAddr * | refP | ) |
Definition at line 190 of file XrdCmsManList.cc.
References XrdNetAddrInfo::fmtAdv6, XrdNetAddrInfo::Format(), XrdSysMutex::Lock(), XrdOucTList::next, XrdNetAddrInfo::old6Map4, XrdOucTList::text, and XrdSysMutex::UnLock().
Referenced by Add(), and Del().
|
inline |
Definition at line 60 of file XrdCmsManList.hh.
int XrdCmsManList::Next | ( | int & | port, |
char * | buff, | ||
int | bsz | ||
) |
Definition at line 225 of file XrdCmsManList.cc.
References XrdSysMutex::Lock(), XrdCmsManRef::Manager, XrdCmsManRef::ManLvl, XrdCmsManRef::ManPort, XrdCmsManRef::Next, strlcpy(), and XrdSysMutex::UnLock().