|
XRootD
|
#include <XrdCmsUtils.hh>
Collaboration diagram for XrdCmsUtils:Public Member Functions | |
| XrdCmsUtils () | |
| ~XrdCmsUtils () | |
Static Public Member Functions | |
| static XrdCmsPerfMon * | loadPerfMon (XrdSysError *eDest, const char *libPath, XrdVersionInfo &urVer) |
| Load the performance monitor plugin. | |
| static bool | ParseMan (XrdSysError *eDest, XrdOucTList **oldMans, char *hSpec, char *hPort, int *sPort=0, bool hush=false) |
| static char * | ParseManPort (XrdSysError *eDest, XrdOucStream &CFile, char *hSpec) |
| static const char * | SiteName (int snum) |
Definition at line 40 of file XrdCmsUtils.hh.
|
inline |
Definition at line 112 of file XrdCmsUtils.hh.
| XrdCmsUtils::~XrdCmsUtils | ( | ) |
References eDest.
|
static |
Load the performance monitor plugin.
| eDest | Pointer to the error message object to route messages. |
| libPath | A pointer to the shared library path. |
| urVer | Reference to the caller's version number. |
Definition at line 108 of file XrdCmsUtils.cc.
References eDest, and XrdOucPinLoader::Resolve().
Referenced by XrdCmsClientConfig::Configure(), and XrdCmsMeter::Monitor().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Obtain and merge a new manager list with an existing list.
| eDest | Pointer to the error message object to route messages. |
| oldMans | A pointer to the existing list of managers, if any. If oldMans is nil, then the hSpec/hPort/sPort is processed but no list is returned. |
| hSpec | the host specification suitable for XrdNetAddr.Set(). The hSpec may end with a '+' indicating that all addresses assigned to hSpec be considered for inclusion. |
| hPort | the port specification which can be a text number or a service name (e.g. xroot). |
| sPort | If not nil, the *sPort will be set to the numeric hPort if the IP address in one of the entries matches the host address. Otherwise, the value is unchanged. |
| hush | When true does not print the dns name to host mappings. |
Definition at line 123 of file XrdCmsUtils.cc.
References XrdOuca2x::a2i(), Display(), XrdNetAddr::DynDNS(), eDest, XrdNetUtils::Hosts(), XrdOucTList::next, XrdNetUtils::ServPort(), XrdNetAddr::Set(), and XrdOucTList::text.
Here is the call graph for this function:
|
static |
Obtain the port for a manager specification
| eDest | Pointer to the error message object to route messages. |
| CFile | The configuration file stream. |
| hSpec | The initial manager specification which may or may not have the port number in it. |
Definition at line 249 of file XrdCmsUtils.cc.
References eDest, and XrdOucStream::GetWord().
Here is the call graph for this function:
|
static |
Translate site number to site name.
| snum | The site number. |
Definition at line 310 of file XrdCmsUtils.cc.
References XrdOucTList::next, and XrdOucTList::text.
Referenced by XrdCmsManager::Verify().
Here is the caller graph for this function: