XrdCmsManList Class Reference

#include <XrdCmsManList.hh>

List of all members.

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
XrdCmsManRefnextMan
XrdCmsManRefallMans


Detailed Description

Definition at line 19 of file XrdCmsManList.hh.


Constructor & Destructor Documentation

XrdCmsManList::XrdCmsManList (  )  [inline]

Definition at line 40 of file XrdCmsManList.hh.

References allMans, and nextMan.

XrdCmsManList::~XrdCmsManList (  ) 

Definition at line 57 of file XrdCmsManList.cc.

References allMans, and XrdCmsManRef::Next.


Member Function Documentation

void XrdCmsManList::Add ( unsigned int  refp,
char *  manp,
int  manport,
int  lvl 
)

Definition at line 69 of file XrdCmsManList.cc.

References allMans, free(), XrdNetDNS::getHostAddr(), XrdNetDNS::getHostName(), XrdSysMutex::Lock(), XrdCmsManRef::ManLvl, mlMutex, XrdCmsManRef::Next, nextMan, XrdMonCtrCollector::port, and XrdSysMutex::UnLock().

Referenced by XrdCmsNode::do_Try(), and XrdCmsProtocol::Pander().

void XrdCmsManList::Del ( unsigned int  refp  ) 

Definition at line 119 of file XrdCmsManList.cc.

References allMans, XrdSysMutex::Lock(), mlMutex, XrdCmsManRef::Next, nextMan, and XrdSysMutex::UnLock().

Referenced by XrdCmsNode::do_Try(), and XrdCmsProtocol::Pander().

int XrdCmsManList::haveAlts (  )  [inline]

Definition at line 33 of file XrdCmsManList.hh.

References allMans.

int XrdCmsManList::Next ( int &  port,
char *  buff,
int  bsz 
)

Definition at line 152 of file XrdCmsManList.cc.

References allMans, XrdSysMutex::Lock(), XrdCmsManRef::Manager, XrdCmsManRef::ManLvl, XrdCmsManRef::ManPort, mlMutex, XrdCmsManRef::Next, nextMan, strlcpy(), and XrdSysMutex::UnLock().

Referenced by XrdCmsProtocol::Pander().


Member Data Documentation

XrdSysMutex XrdCmsManList::mlMutex [private]

Definition at line 45 of file XrdCmsManList.hh.

Referenced by Add(), Del(), and Next().

XrdCmsManRef* XrdCmsManList::nextMan [private]

Definition at line 46 of file XrdCmsManList.hh.

Referenced by Add(), Del(), Next(), and XrdCmsManList().

XrdCmsManRef* XrdCmsManList::allMans [private]

Definition at line 47 of file XrdCmsManList.hh.

Referenced by Add(), Del(), haveAlts(), Next(), XrdCmsManList(), and ~XrdCmsManList().


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:50:20 2011 for ROOT_528-00b_version by  doxygen 1.5.1