XrdCmsConfig Class Reference

#include <XrdCmsConfig.hh>

Inheritance diagram for XrdCmsConfig:

XrdJob List of all members.

Public Member Functions

int Configure1 (int argc, char **argv, char *cfn)
int Configure2 ()
int ConfigXeq (char *var, XrdOucStream &CFile, XrdSysError *eDest)
void DoIt ()
int GenLocalPath (const char *oldp, char *newp)
int asManager ()
int asPeer ()
int asProxy ()
int asServer ()
int asSolo ()
 XrdCmsConfig ()
 ~XrdCmsConfig ()

Public Attributes

int LUPDelay
int LUPHold
int DRPDelay
int PSDelay
int RWDelay
int SRVDelay
int SUPCount
int SUPLevel
int SUPDelay
int SUSDelay
int MaxLoad
int MaxDelay
int MsgTTL
int RefReset
int RefTurn
int AskPerf
int AskPing
int LogPerf
int PortTCP
XrdInetNetTCP
int P_cpu
int P_dsk
int P_fuzz
int P_io
int P_load
int P_mem
int P_pag
int DiskMin
int DiskHWM
short DiskMinP
short DiskHWMP
int DiskLinger
int DiskAsk
int DiskWT
int DiskSS
int DiskOK
int sched_RR
int doWait
XrdOucName2Namexeq_N2N
XrdOucName2Namelcl_N2N
char * ossLib
char * ossParms
char * N2N_Lib
char * N2N_Parms
char * LocalRoot
char * RemotRoot
char * myPaths
const char * myProg
const char * myName
const char * myDomain
const char * myInsName
const char * myInstance
const char * mySID
XrdOucTListManList
XrdOucTListNanList
XrdOssossFS
XrdOucProgProgCH
XrdOucProgProgMD
XrdOucProgProgMP
XrdOucProgProgMV
XrdOucProgProgRD
XrdOucProgProgRM
XrdOucProgProgTR
unsigned long long DirFlags
XrdCmsPList_Anchor PathList
XrdOucPListAnchor PexpList
XrdNetSocketAdminSock
XrdNetSocketAnoteSock
XrdNetSocketRedirSock
XrdNetSecurityPolice
sockaddr myAddr

Private Member Functions

void ConfigDefaults (void)
int ConfigN2N (void)
int ConfigOSS (void)
int ConfigProc (int getrole=0)
int isExec (XrdSysError *eDest, const char *ptype, char *prog)
int MergeP (void)
int PidFile (void)
int setupManager (void)
int setupServer (void)
char * setupSid ()
int setupXmi (void)
void Usage (int rc)
int xapath (XrdSysError *edest, XrdOucStream &CFile)
int xallow (XrdSysError *edest, XrdOucStream &CFile)
int Fsysadd (XrdSysError *edest, int chk, char *fn)
int xdelay (XrdSysError *edest, XrdOucStream &CFile)
int xdefs (XrdSysError *edest, XrdOucStream &CFile)
int xexpo (XrdSysError *edest, XrdOucStream &CFile)
int xfsxq (XrdSysError *edest, XrdOucStream &CFile)
int xfxhld (XrdSysError *edest, XrdOucStream &CFile)
int xlclrt (XrdSysError *edest, XrdOucStream &CFile)
int xmang (XrdSysError *edest, XrdOucStream &CFile)
int xnml (XrdSysError *edest, XrdOucStream &CFile)
int xolib (XrdSysError *edest, XrdOucStream &CFile)
int xperf (XrdSysError *edest, XrdOucStream &CFile)
int xpidf (XrdSysError *edest, XrdOucStream &CFile)
int xping (XrdSysError *edest, XrdOucStream &CFile)
int xprep (XrdSysError *edest, XrdOucStream &CFile)
int xprepm (XrdSysError *edest, XrdOucStream &CFile)
int xrmtrt (XrdSysError *edest, XrdOucStream &CFile)
int xrole (XrdSysError *edest, XrdOucStream &CFile)
int xsched (XrdSysError *edest, XrdOucStream &CFile)
int xsecl (XrdSysError *edest, XrdOucStream &CFile)
int xspace (XrdSysError *edest, XrdOucStream &CFile)
int xtrace (XrdSysError *edest, XrdOucStream &CFile)
int xxmi (XrdSysError *edest, XrdOucStream &CFile)

Private Attributes

XrdInetNetTCPr
char * AdminPath
int AdminMode
char * pidPath
char * ConfigFN
char ** inArgv
int inArgc
char * SecLib
char * XmiPath
char * XmiParms
int isManager
int isMeta
int isPeer
int isProxy
int isServer
int isSolo
char * myRole
char * perfpgm
int perfint
int cachelife
int pendplife

Detailed Description

Definition at line 36 of file XrdCmsConfig.hh.


Constructor & Destructor Documentation

XrdCmsConfig::XrdCmsConfig (  )  [inline]

Definition at line 131 of file XrdCmsConfig.hh.

References ConfigDefaults().

XrdCmsConfig::~XrdCmsConfig (  )  [inline]

Definition at line 132 of file XrdCmsConfig.hh.


Member Function Documentation

int XrdCmsConfig::Configure1 ( int  argc,
char **  argv,
char *  cfn 
)

Definition at line 189 of file XrdCmsConfig.cc.

References c, ConfigFN, ConfigProc(), doWait, XrdSysError::Emsg(), getenv(), inArgc, inArgv, XrdOucUtils::InstName(), isManager, isPeer, isProxy, isServer, myInsName, myInstance, myName, myRole, optind, PortTCP, XrdFrm::Say(), XrdSysError::Say(), sprintf(), and Usage().

int XrdCmsConfig::Configure2 (  ) 

Definition at line 309 of file XrdCmsConfig.cc.

References AdminMode, AdminPath, AdminSock, XrdCms::Cache, cachelife, XrdCms::CmsState, ConfigN2N(), ConfigOSS(), XrdNetSocket::Create(), DEBUG, XrdSysError::Emsg(), EPNAME, free(), XrdCmsState::FrontEnd, XrdOucUtils::genPath(), XrdCmsCache::Init(), XrdOucUtils::InstName(), isManager, isMeta, isPeer, isServer, isSolo, LocalRoot, LUPDelay, XrdCmsMeter::manFS, ManList, XrdCms::Meter, myInsName, myInstance, myRole, mySID, p, XrdCmsMeter::peerFS, PidFile(), RemotRoot, XrdFrm::Say(), XrdSysError::Say(), XrdCms::Sched, XrdScheduler::Schedule(), XrdCmsState::Set(), XrdScheduler::setParms(), setupManager(), setupServer(), setupSid(), setupXmi(), XrdCmsMeter::setVirtual(), sprintf(), SUPCount, SUPLevel, XrdCmsState::Update(), and XmiPath.

int XrdCmsConfig::ConfigXeq ( char *  var,
XrdOucStream CFile,
XrdSysError eDest 
)

Definition at line 417 of file XrdCmsConfig.cc.

References doWait, XrdOucStream::Echo(), eDest, XrdFrm::Say(), XrdSysError::Say(), TS_Set, TS_unSet, TS_Xeq, xallow(), xapath(), xdefs(), xdelay(), xexpo(), xfsxq(), xfxhld(), xlclrt(), xmang(), xnml(), xolib(), xperf(), xpidf(), xping(), xprep(), xprepm(), xrmtrt(), xrole(), xsched(), xsecl(), xspace(), xtrace(), and xxmi().

Referenced by ConfigProc().

void XrdCmsConfig::DoIt (  )  [virtual]

Implements XrdJob.

Definition at line 474 of file XrdCmsConfig.cc.

References AdminSock, XrdCmsProtocol::Alloc(), AnoteSock, XrdCms::CmsState, XrdCmsState::Counts, doWait, XrdSysError::Emsg(), XrdCmsState::Enable(), isManager, isPeer, isServer, ManList, myName, myRole, XrdOucTList::next, PortTCP, XrdSysThread::Run(), XrdFrm::Say(), XrdCms::Sched, XrdScheduler::Schedule(), XrdCmsAdmin::setSync(), sprintf(), SRVDelay, SUPCount, XrdCmsSupervisor::superOK, XrdOucTList::text, XrdCmsState::Update(), XrdOucTList::val, XrdSysTimer::Wait(), XrdCmsStartAdmin(), XrdCmsStartAnote(), XrdCmsStartMonStat(), XrdCmsStartPreparing(), and XrdCmsStartSupervising().

int XrdCmsConfig::GenLocalPath ( const char *  oldp,
char *  newp 
)

Definition at line 574 of file XrdCmsConfig.cc.

References lcl_N2N, XrdOucName2Name::lfn2pfn(), strcpy(), and XrdCmsMAX_PATH_LEN.

int XrdCmsConfig::asManager (  )  [inline]

Definition at line 45 of file XrdCmsConfig.hh.

References isManager.

int XrdCmsConfig::asPeer (  )  [inline]

Definition at line 46 of file XrdCmsConfig.hh.

References isPeer.

int XrdCmsConfig::asProxy (  )  [inline]

Definition at line 47 of file XrdCmsConfig.hh.

References isProxy.

int XrdCmsConfig::asServer (  )  [inline]

Definition at line 48 of file XrdCmsConfig.hh.

References isServer.

int XrdCmsConfig::asSolo (  )  [inline]

Definition at line 49 of file XrdCmsConfig.hh.

References isSolo.

void XrdCmsConfig::ConfigDefaults ( void   )  [private]

Definition at line 589 of file XrdCmsConfig.cc.

References AdminMode, AdminPath, AdminSock, AnoteSock, AskPerf, AskPing, cachelife, ConfigFN, DirFlags, DiskAsk, DiskHWM, DiskHWMP, DiskLinger, DiskMin, DiskMinP, DiskOK, DiskSS, DiskWT, doWait, DRPDelay, isManager, isMeta, isPeer, isProxy, isServer, isSolo, lcl_N2N, LocalRoot, LogPerf, LUPDelay, LUPHold, ManList, MaxDelay, MaxLoad, MsgTTL, myDomain, myInsName, myName, myPaths, myRole, mySID, N2N_Lib, N2N_Parms, NanList, ossFS, ossLib, P_cpu, P_fuzz, P_io, P_load, P_mem, P_pag, pendplife, perfint, perfpgm, pidPath, Police, PortTCP, ProgCH, ProgMD, ProgMV, ProgRD, ProgRM, PSDelay, RedirSock, RefReset, RefTurn, RemotRoot, RWDelay, sched_RR, SecLib, SRVDelay, STMax, SUPCount, SUPDelay, SUPLevel, SUSDelay, xeq_N2N, XmiParms, and XmiPath.

Referenced by XrdCmsConfig().

int XrdCmsConfig::ConfigN2N ( void   )  [private]

Definition at line 679 of file XrdCmsConfig.cc.

References ConfigFN, XrdSysPlugin::getPlugin(), lcl_N2N, LocalRoot, N2N_Lib, N2N_Parms, XrdCms::PrepQ, RemotRoot, XrdFrm::Say(), XrdCmsPrepare::setParms(), xeq_N2N, XmiPath, XrdOucgetName2Name(), XrdOucgetName2NameArgs, and XrdSysPlugin.

Referenced by Configure2().

int XrdCmsConfig::ConfigOSS ( void   )  [private]

Definition at line 717 of file XrdCmsConfig.cc.

References ConfigFN, XrdOucEnv::Export(), XrdSysError::logger(), ossFS, ossLib, XrdFrm::Say(), and XrdOssGetSS().

Referenced by Configure2().

int XrdCmsConfig::ConfigProc ( int  getrole = 0  )  [private]

Definition at line 736 of file XrdCmsConfig.cc.

References XrdOucStream::Attach(), XrdOucStream::Close(), ConfigFN, ConfigXeq(), DiskSS, XrdOucStream::Echo(), XrdSysError::Emsg(), getenv(), XrdOucStream::GetMyFirstWord(), XrdOucStream::LastError(), ManList, MergeP(), open, XrdFrm::Say(), XrdOucStream::SetEroute(), and xrole().

Referenced by Configure1().

int XrdCmsConfig::isExec ( XrdSysError eDest,
const char *  ptype,
char *  prog 
) [private]

Definition at line 800 of file XrdCmsConfig.cc.

References access, eDest, XrdSysError::Emsg(), sprintf(), and X_OK.

Referenced by xperf(), and xprep().

int XrdCmsConfig::MergeP ( void   )  [private]

Definition at line 828 of file XrdCmsConfig.cc.

References XrdCmsPList_Anchor::Add(), XrdCms::CmsState, XrdCmsState::Counts, DiskSS, XrdSysError::Emsg(), XrdCmsPList_Anchor::First(), XrdOucPListAnchor::First(), XrdOucPList::Flag(), isManager, isServer, malloc(), myPaths, XrdOucPList::Next(), XrdCmsPList::Next(), XrdMpx::Opts, XrdCmsPList::Path(), XrdOucPList::Path(), PathList, PexpList, XrdCmsPList::PType(), XrdCmsPInfo::rovec, XrdCmsPInfo::rwvec, XrdFrm::Say(), XrdSysError::Say(), sprintf(), XrdCmsPInfo::ssvec, XrdCmsState::Update(), XRDEXP_GLBLRO, XRDEXP_LOCAL, XRDEXP_NOTRW, and XRDEXP_STAGE.

Referenced by ConfigProc().

int XrdCmsConfig::PidFile ( void   )  [private]

Definition at line 890 of file XrdCmsConfig.cc.

References AdminPath, close, XrdSysError::Emsg(), XrdOucEnv::Export(), free(), XrdOucUtils::genPath(), XrdOucUtils::InstName(), isManager, isServer, LocalRoot, XrdOucUtils::makePath(), myInsName, mySID, open, XrdOucUtils::pathMode, pidPath, XrdFrm::Say(), snprintf, and write.

Referenced by Configure2().

int XrdCmsConfig::setupManager ( void   )  [private]

Definition at line 942 of file XrdCmsConfig.cc.

References AdminMode, AdminPath, AskPerf, ConfigFN, XrdCmsSecurity::Configure(), DiskLinger, XrdSysError::Emsg(), XrdCmsRRQ::Init(), XrdCmsSupervisor::Init(), isServer, LUPDelay, LUPHold, P_cpu, P_fuzz, P_io, P_load, P_mem, P_pag, RefReset, RefTurn, XrdCms::RRQ, XrdSysThread::Run(), XrdFrm::Say(), XrdSysError::Say(), sched_RR, SecLib, STMax, XrdCmsStartMonPerf(), and XrdCmsStartMonRefs().

Referenced by Configure2().

int XrdCmsConfig::setupServer ( void   )  [private]

Definition at line 994 of file XrdCmsConfig.cc.

References AdminMode, AdminPath, AnoteSock, AskPerf, AskPing, XrdNetSocket::Create(), DiskOK, DiskSS, DiskWT, XrdSysError::Emsg(), XrdCmsMeter::Init(), isManager, isPeer, isProxy, ManList, XrdCms::ManTree, MaxDelay, XrdCms::Meter, XrdCmsMeter::Monitor(), XrdCmsManager::MTMax, myInsName, myRole, n, XrdOucTList::next, perfint, perfpgm, XrdCms::PrepQ, XrdCmsPrepare::Reset(), XrdFrm::Say(), XrdCmsManTree::setMaxCon(), SUPCount, SUPLevel, and XRDNET_UDPSOCKET.

Referenced by Configure2().

char * XrdCmsConfig::setupSid (  )  [private]

Definition at line 1050 of file XrdCmsConfig.cc.

References isManager, isServer, ManList, myInsName, myName, NanList, and XrdCmsSecurity::setSystemID().

Referenced by Configure2().

int XrdCmsConfig::setupXmi ( void   )  [private]

Definition at line 1069 of file XrdCmsConfig.cc.

References XrdCmsXmiEnv::ConfigFN, ConfigFN, DEBUG, XrdCmsXmiEnv::eDest, EPNAME, XrdSysPlugin::getPlugin(), i, inArgc, inArgv, XrdCmsXmiEnv::iNet, int, myRole, XrdCmsXmiEnv::Name2Name, NetTCP, XrdCmsXmiEnv::Parms, XrdCmsXmiEnv::Role, XrdFrm::Say(), XrdCms::Sched, XrdCmsXmiEnv::Sched, XrdCmsXmiEnv::Trace, Trace, xeq_N2N, XrdCmsXmi::XeqMode(), XMI_ALL, XrdCms::Xmi_Chmod, XMI_CHMOD, XMI_LOAD, XrdCms::Xmi_Load, XrdCms::Xmi_Mkdir, XMI_MKDIR, XrdCms::Xmi_Mkpath, XMI_MKPATH, XMI_PREP, XrdCms::Xmi_Prep, XMI_REMDIR, XrdCms::Xmi_Remdir, XMI_REMOVE, XrdCms::Xmi_Remove, XMI_RENAME, XrdCms::Xmi_Rename, XrdCms::Xmi_Select, XMI_SELECT, XrdCms::Xmi_Space, XMI_SPACE, XrdCms::Xmi_Stat, XMI_STAT, XmiParms, XmiPath, and XrdSysPlugin.

Referenced by Configure2().

void XrdCmsConfig::Usage ( int  rc  )  [private]

Definition at line 1148 of file XrdCmsConfig.cc.

Referenced by Configure1().

int XrdCmsConfig::xapath ( XrdSysError edest,
XrdOucStream CFile 
) [private]

Definition at line 1212 of file XrdCmsConfig.cc.

References AdminMode, AdminPath, eDest, XrdSysError::Emsg(), free(), XrdOucStream::GetWord(), S_IRWXG, S_IRWXU, sockaddr_un::sun_path, and val.

Referenced by ConfigXeq().

int XrdCmsConfig::xallow ( XrdSysError edest,
XrdOucStream CFile 
) [private]

Definition at line 1171 of file XrdCmsConfig.cc.

References XrdNetSecurity::AddHost(), XrdNetSecurity::AddNetGroup(), eDest, XrdSysError::Emsg(), XrdOucStream::GetWord(), isManager, XrdOucStream::noEcho(), Police, and val.

Referenced by ConfigXeq().

int XrdCmsConfig::Fsysadd ( XrdSysError edest,
int  chk,
char *  fn 
) [private]

int XrdCmsConfig::xdelay ( XrdSysError edest,
XrdOucStream CFile 
) [private]

Definition at line 1288 of file XrdCmsConfig.cc.

References XrdOuca2x::a2i(), XrdOuca2x::a2tm(), DiskWT, DRPDelay, eDest, XrdSysError::Emsg(), XrdOucStream::GetWord(), i, isManager, isPeer, LUPDelay, LUPHold, MaxDelay, MsgTTL, XrdOucStream::noEcho(), PSDelay, RWDelay, XrdSysError::Say(), SRVDelay, SUPCount, SUPDelay, SUPLevel, SUSDelay, and val.

Referenced by ConfigXeq().

int XrdCmsConfig::xdefs ( XrdSysError edest,
XrdOucStream CFile 
) [private]

Definition at line 1365 of file XrdCmsConfig.cc.

References DirFlags, eDest, isServer, XrdOucStream::noEcho(), and XrdOucExport::ParseDefs().

Referenced by ConfigXeq().

int XrdCmsConfig::xexpo ( XrdSysError edest,
XrdOucStream CFile 
) [private]

Definition at line 1386 of file XrdCmsConfig.cc.

References DirFlags, eDest, XrdOucPList::Flag(), XrdOucPListAnchor::Insert(), XrdOucPListAnchor::Match(), XrdMpx::Opts, XrdOucExport::ParsePath(), XrdOucPList::Path(), PexpList, XrdOucPList::Set(), XRDEXP_MASKSHIFT, and XRDEXP_SETTINGS.

Referenced by ConfigXeq().

int XrdCmsConfig::xfsxq ( XrdSysError edest,
XrdOucStream CFile 
) [private]

Definition at line 1424 of file XrdCmsConfig.cc.

References eDest, XrdSysError::Emsg(), XrdOucStream::GetWord(), i, isServer, XrdOucStream::noEcho(), ProgCH, ProgMD, ProgMP, ProgMV, ProgRD, ProgRM, ProgTR, XrdOucStream::RetToken(), XrdSysError::Say(), xmlio::Setup, and val.

Referenced by ConfigXeq().

int XrdCmsConfig::xfxhld ( XrdSysError edest,
XrdOucStream CFile 
) [private]

Definition at line 1500 of file XrdCmsConfig.cc.

References XrdOuca2x::a2tm(), cachelife, eDest, XrdSysError::Emsg(), XrdOucStream::GetWord(), isManager, XrdOucStream::noEcho(), and val.

Referenced by ConfigXeq().

int XrdCmsConfig::xlclrt ( XrdSysError edest,
XrdOucStream CFile 
) [private]

Definition at line 1531 of file XrdCmsConfig.cc.

References eDest, XrdSysError::Emsg(), free(), XrdOucStream::GetWord(), i, isServer, LocalRoot, XrdOucStream::noEcho(), and val.

Referenced by ConfigXeq().

int XrdCmsConfig::xmang ( XrdSysError edest,
XrdOucStream CFile 
) [private]

Definition at line 1593 of file XrdCmsConfig.cc.

References XrdOuca2x::a2i(), XrdOucUtils::doIf(), eDest, XrdSysError::Emsg(), free(), XrdNetDNS::getHostAddr(), XrdNetDNS::getHostName(), XrdNetDNS::getPort(), XrdOucStream::GetWord(), i, isManager, isMeta, isPeer, isProxy, isServer, j, ManList, myAddr, myInsName, myName, myProg, NanList, XrdOucStream::noEcho(), XrdMonCtrCollector::port, PortTCP, XrdSysError::Say(), sprintf(), v1, and val.

Referenced by ConfigXeq().

int XrdCmsConfig::xnml ( XrdSysError edest,
XrdOucStream CFile 
) [private]

Definition at line 1731 of file XrdCmsConfig.cc.

References eDest, XrdSysError::Emsg(), free(), XrdOucStream::GetRest(), XrdOucStream::GetWord(), N2N_Lib, N2N_Parms, and val.

Referenced by ConfigXeq().

int XrdCmsConfig::xolib ( XrdSysError edest,
XrdOucStream CFile 
) [private]

Definition at line 1767 of file XrdCmsConfig.cc.

References eDest, XrdSysError::Emsg(), free(), XrdOucStream::GetRest(), XrdOucStream::GetWord(), ossLib, ossParms, and val.

Referenced by ConfigXeq().

int XrdCmsConfig::xperf ( XrdSysError edest,
XrdOucStream CFile 
) [private]

Definition at line 1804 of file XrdCmsConfig.cc.

References XrdOuca2x::a2tm(), eDest, XrdSysError::Emsg(), free(), XrdOucStream::GetRest(), XrdOucStream::GetWord(), isExec(), isServer, XrdOucStream::noEcho(), perfint, perfpgm, XrdSysError::Say(), and val.

Referenced by ConfigXeq().

int XrdCmsConfig::xpidf ( XrdSysError edest,
XrdOucStream CFile 
) [private]

Definition at line 1860 of file XrdCmsConfig.cc.

References eDest, XrdSysError::Emsg(), free(), XrdOucStream::GetWord(), pidPath, and val.

Referenced by ConfigXeq().

int XrdCmsConfig::xping ( XrdSysError edest,
XrdOucStream CFile 
) [private]

Definition at line 1898 of file XrdCmsConfig.cc.

References XrdOuca2x::a2i(), XrdOuca2x::a2tm(), AskPerf, AskPing, eDest, XrdSysError::Emsg(), XrdOucStream::GetWord(), LogPerf, and val.

Referenced by ConfigXeq().

int XrdCmsConfig::xprep ( XrdSysError edest,
XrdOucStream CFile 
) [private]

Definition at line 1952 of file XrdCmsConfig.cc.

References XrdOuca2x::a2i(), XrdOuca2x::a2tm(), eDest, XrdSysError::Emsg(), XrdOucStream::GetRest(), XrdOucStream::GetWord(), isExec(), isServer, XrdOucStream::noEcho(), pendplife, XrdCms::PrepQ, XrdSysError::Say(), XrdCmsPrepare::setParms(), and val.

Referenced by ConfigXeq().

int XrdCmsConfig::xprepm ( XrdSysError edest,
XrdOucStream CFile 
) [private]

Definition at line 2017 of file XrdCmsConfig.cc.

References eDest, XrdSysError::Emsg(), XrdOucStream::GetRest(), XrdOucStream::GetWord(), XrdCms::PrepQ, XrdOucStream::RetToken(), XrdOucStream::SetEnv(), XrdCmsPrepare::setParms(), and val.

Referenced by ConfigXeq().

int XrdCmsConfig::xrmtrt ( XrdSysError edest,
XrdOucStream CFile 
) [private]

Definition at line 2061 of file XrdCmsConfig.cc.

References eDest, XrdSysError::Emsg(), free(), XrdOucStream::GetWord(), i, isManager, XrdOucStream::noEcho(), RemotRoot, and val.

Referenced by ConfigXeq().

int XrdCmsConfig::xrole ( XrdSysError edest,
XrdOucStream CFile 
) [private]

Definition at line 2147 of file XrdCmsConfig.cc.

References XrdOucUtils::doIf(), eDest, XrdSysError::Emsg(), free(), XrdOucStream::GetWord(), isManager, isMeta, isPeer, isProxy, isServer, isSolo, myInsName, myName, myProg, myRole, strcat(), strcpy(), and val.

Referenced by ConfigProc(), and ConfigXeq().

int XrdCmsConfig::xsched ( XrdSysError edest,
XrdOucStream CFile 
) [private]

Definition at line 2239 of file XrdCmsConfig.cc.

References XrdOuca2x::a2i(), XrdOuca2x::a2tm(), eDest, XrdSysError::Emsg(), XrdOucStream::GetWord(), i, MaxLoad, P_cpu, P_dsk, P_fuzz, P_io, P_load, P_mem, P_pag, RefReset, XrdSysError::Say(), and val.

Referenced by ConfigXeq().

int XrdCmsConfig::xsecl ( XrdSysError edest,
XrdOucStream CFile 
) [private]

Definition at line 2301 of file XrdCmsConfig.cc.

References eDest, XrdSysError::Emsg(), free(), XrdOucStream::GetWord(), isManager, XrdOucStream::noEcho(), SecLib, and val.

Referenced by ConfigXeq().

int XrdCmsConfig::xspace ( XrdSysError edest,
XrdOucStream CFile 
) [private]

Definition at line 2356 of file XrdCmsConfig.cc.

References XrdOuca2x::a2i(), XrdOuca2x::a2sz(), DiskAsk, DiskHWM, DiskHWMP, DiskLinger, DiskMin, DiskMinP, eDest, XrdSysError::Emsg(), XrdOucStream::GetWord(), i, and val.

Referenced by ConfigXeq().

int XrdCmsConfig::xtrace ( XrdSysError edest,
XrdOucStream CFile 
) [private]

Definition at line 2453 of file XrdCmsConfig.cc.

References eDest, XrdSysError::Emsg(), XrdOucStream::GetWord(), i, XrdSysError::Say(), Trace, TRACE_ALL, TRACE_Debug, TRACE_Defer, TRACE_Files, TRACE_Forward, TRACE_Redirect, TRACE_Stage, and val.

Referenced by ConfigXeq().

int XrdCmsConfig::xxmi ( XrdSysError edest,
XrdOucStream CFile 
) [private]

Definition at line 2504 of file XrdCmsConfig.cc.

References eDest, XrdSysError::Emsg(), free(), XrdOucStream::GetRest(), XrdOucStream::GetWord(), val, XmiParms, and XmiPath.

Referenced by ConfigXeq().


Member Data Documentation

int XrdCmsConfig::LUPDelay

Definition at line 51 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), Configure2(), setupManager(), and xdelay().

int XrdCmsConfig::LUPHold

Definition at line 52 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), setupManager(), and xdelay().

int XrdCmsConfig::DRPDelay

Definition at line 53 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), and xdelay().

int XrdCmsConfig::PSDelay

Definition at line 54 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), and xdelay().

int XrdCmsConfig::RWDelay

Definition at line 55 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), and xdelay().

int XrdCmsConfig::SRVDelay

Definition at line 56 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), DoIt(), and xdelay().

int XrdCmsConfig::SUPCount

Definition at line 57 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), Configure2(), DoIt(), setupServer(), and xdelay().

int XrdCmsConfig::SUPLevel

Definition at line 58 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), Configure2(), setupServer(), and xdelay().

int XrdCmsConfig::SUPDelay

Definition at line 59 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), and xdelay().

int XrdCmsConfig::SUSDelay

Definition at line 60 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), and xdelay().

int XrdCmsConfig::MaxLoad

Definition at line 61 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), and xsched().

int XrdCmsConfig::MaxDelay

Definition at line 62 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), setupServer(), and xdelay().

int XrdCmsConfig::MsgTTL

Definition at line 63 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), and xdelay().

int XrdCmsConfig::RefReset

Definition at line 64 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), setupManager(), and xsched().

int XrdCmsConfig::RefTurn

Definition at line 65 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), and setupManager().

int XrdCmsConfig::AskPerf

Definition at line 66 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), setupManager(), setupServer(), and xping().

int XrdCmsConfig::AskPing

Definition at line 67 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), setupServer(), and xping().

int XrdCmsConfig::LogPerf

Definition at line 68 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), and xping().

int XrdCmsConfig::PortTCP

Definition at line 70 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), Configure1(), DoIt(), and xmang().

XrdInet* XrdCmsConfig::NetTCP

Definition at line 71 of file XrdCmsConfig.hh.

Referenced by setupXmi().

int XrdCmsConfig::P_cpu

Definition at line 73 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), setupManager(), and xsched().

int XrdCmsConfig::P_dsk

Definition at line 74 of file XrdCmsConfig.hh.

Referenced by xsched().

int XrdCmsConfig::P_fuzz

Definition at line 75 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), setupManager(), and xsched().

int XrdCmsConfig::P_io

Definition at line 76 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), setupManager(), and xsched().

int XrdCmsConfig::P_load

Definition at line 77 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), setupManager(), and xsched().

int XrdCmsConfig::P_mem

Definition at line 78 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), setupManager(), and xsched().

int XrdCmsConfig::P_pag

Definition at line 79 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), setupManager(), and xsched().

int XrdCmsConfig::DiskMin

Definition at line 81 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), and xspace().

int XrdCmsConfig::DiskHWM

Definition at line 82 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), and xspace().

short XrdCmsConfig::DiskMinP

Definition at line 83 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), and xspace().

short XrdCmsConfig::DiskHWMP

Definition at line 84 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), and xspace().

int XrdCmsConfig::DiskLinger

Definition at line 85 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), setupManager(), and xspace().

int XrdCmsConfig::DiskAsk

Definition at line 86 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), and xspace().

int XrdCmsConfig::DiskWT

Definition at line 87 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), setupServer(), and xdelay().

int XrdCmsConfig::DiskSS

Definition at line 88 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), ConfigProc(), MergeP(), and setupServer().

int XrdCmsConfig::DiskOK

Definition at line 89 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), and setupServer().

int XrdCmsConfig::sched_RR

Definition at line 91 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), and setupManager().

int XrdCmsConfig::doWait

Definition at line 92 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), Configure1(), ConfigXeq(), and DoIt().

XrdOucName2Name* XrdCmsConfig::xeq_N2N

Definition at line 94 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), ConfigN2N(), and setupXmi().

XrdOucName2Name* XrdCmsConfig::lcl_N2N

Definition at line 95 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), ConfigN2N(), and GenLocalPath().

char* XrdCmsConfig::ossLib

Definition at line 97 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), ConfigOSS(), and xolib().

char* XrdCmsConfig::ossParms

Definition at line 98 of file XrdCmsConfig.hh.

Referenced by xolib().

char* XrdCmsConfig::N2N_Lib

Definition at line 99 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), ConfigN2N(), and xnml().

char* XrdCmsConfig::N2N_Parms

Definition at line 100 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), ConfigN2N(), and xnml().

char* XrdCmsConfig::LocalRoot

Definition at line 101 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), ConfigN2N(), Configure2(), PidFile(), and xlclrt().

char* XrdCmsConfig::RemotRoot

Definition at line 102 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), ConfigN2N(), Configure2(), and xrmtrt().

char* XrdCmsConfig::myPaths

Definition at line 103 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), and MergeP().

const char* XrdCmsConfig::myProg

Definition at line 104 of file XrdCmsConfig.hh.

Referenced by xmang(), and xrole().

const char* XrdCmsConfig::myName

Definition at line 105 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), Configure1(), DoIt(), setupSid(), xmang(), and xrole().

const char* XrdCmsConfig::myDomain

Definition at line 106 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults().

const char* XrdCmsConfig::myInsName

Definition at line 107 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), Configure1(), Configure2(), PidFile(), setupServer(), setupSid(), xmang(), and xrole().

const char* XrdCmsConfig::myInstance

Definition at line 108 of file XrdCmsConfig.hh.

Referenced by Configure1(), and Configure2().

const char* XrdCmsConfig::mySID

Definition at line 109 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), Configure2(), and PidFile().

XrdOucTList* XrdCmsConfig::ManList

Definition at line 110 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), ConfigProc(), Configure2(), DoIt(), setupServer(), setupSid(), and xmang().

XrdOucTList* XrdCmsConfig::NanList

Definition at line 111 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), setupSid(), and xmang().

XrdOss* XrdCmsConfig::ossFS

Definition at line 113 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), and ConfigOSS().

XrdOucProg* XrdCmsConfig::ProgCH

Definition at line 114 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), and xfsxq().

XrdOucProg* XrdCmsConfig::ProgMD

Definition at line 115 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), and xfsxq().

XrdOucProg* XrdCmsConfig::ProgMP

Definition at line 116 of file XrdCmsConfig.hh.

Referenced by xfsxq().

XrdOucProg* XrdCmsConfig::ProgMV

Definition at line 117 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), and xfsxq().

XrdOucProg* XrdCmsConfig::ProgRD

Definition at line 118 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), and xfsxq().

XrdOucProg* XrdCmsConfig::ProgRM

Definition at line 119 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), and xfsxq().

XrdOucProg* XrdCmsConfig::ProgTR

Definition at line 120 of file XrdCmsConfig.hh.

Referenced by xfsxq().

unsigned long long XrdCmsConfig::DirFlags

Definition at line 122 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), xdefs(), and xexpo().

XrdCmsPList_Anchor XrdCmsConfig::PathList

Definition at line 123 of file XrdCmsConfig.hh.

Referenced by MergeP().

XrdOucPListAnchor XrdCmsConfig::PexpList

Definition at line 124 of file XrdCmsConfig.hh.

Referenced by MergeP(), and xexpo().

XrdNetSocket* XrdCmsConfig::AdminSock

Definition at line 125 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), Configure2(), and DoIt().

XrdNetSocket* XrdCmsConfig::AnoteSock

Definition at line 126 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), DoIt(), and setupServer().

XrdNetSocket* XrdCmsConfig::RedirSock

Definition at line 127 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults().

XrdNetSecurity* XrdCmsConfig::Police

Definition at line 128 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), and xallow().

struct sockaddr XrdCmsConfig::myAddr

Definition at line 129 of file XrdCmsConfig.hh.

Referenced by xmang().

XrdInet* XrdCmsConfig::NetTCPr [private]

Definition at line 173 of file XrdCmsConfig.hh.

char* XrdCmsConfig::AdminPath [private]

Definition at line 174 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), Configure2(), PidFile(), setupManager(), setupServer(), and xapath().

int XrdCmsConfig::AdminMode [private]

Definition at line 175 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), Configure2(), setupManager(), setupServer(), and xapath().

char* XrdCmsConfig::pidPath [private]

Definition at line 176 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), PidFile(), and xpidf().

char* XrdCmsConfig::ConfigFN [private]

Definition at line 177 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), ConfigN2N(), ConfigOSS(), ConfigProc(), Configure1(), setupManager(), and setupXmi().

char** XrdCmsConfig::inArgv [private]

Definition at line 178 of file XrdCmsConfig.hh.

Referenced by Configure1(), and setupXmi().

int XrdCmsConfig::inArgc [private]

Definition at line 179 of file XrdCmsConfig.hh.

Referenced by Configure1(), and setupXmi().

char* XrdCmsConfig::SecLib [private]

Definition at line 180 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), setupManager(), and xsecl().

char* XrdCmsConfig::XmiPath [private]

Definition at line 181 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), ConfigN2N(), Configure2(), setupXmi(), and xxmi().

char* XrdCmsConfig::XmiParms [private]

Definition at line 182 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), setupXmi(), and xxmi().

int XrdCmsConfig::isManager [private]

Definition at line 183 of file XrdCmsConfig.hh.

Referenced by asManager(), ConfigDefaults(), Configure1(), Configure2(), DoIt(), MergeP(), PidFile(), setupServer(), setupSid(), xallow(), xdelay(), xfxhld(), xmang(), xrmtrt(), xrole(), and xsecl().

int XrdCmsConfig::isMeta [private]

Definition at line 184 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), Configure2(), xmang(), and xrole().

int XrdCmsConfig::isPeer [private]

Definition at line 185 of file XrdCmsConfig.hh.

Referenced by asPeer(), ConfigDefaults(), Configure1(), Configure2(), DoIt(), setupServer(), xdelay(), xmang(), and xrole().

int XrdCmsConfig::isProxy [private]

Definition at line 186 of file XrdCmsConfig.hh.

Referenced by asProxy(), ConfigDefaults(), Configure1(), setupServer(), xmang(), and xrole().

int XrdCmsConfig::isServer [private]

Definition at line 187 of file XrdCmsConfig.hh.

Referenced by asServer(), ConfigDefaults(), Configure1(), Configure2(), DoIt(), MergeP(), PidFile(), setupManager(), setupSid(), xdefs(), xfsxq(), xlclrt(), xmang(), xperf(), xprep(), and xrole().

int XrdCmsConfig::isSolo [private]

Definition at line 188 of file XrdCmsConfig.hh.

Referenced by asSolo(), ConfigDefaults(), Configure2(), and xrole().

char* XrdCmsConfig::myRole [private]

Definition at line 189 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), Configure1(), Configure2(), DoIt(), setupServer(), setupXmi(), and xrole().

char* XrdCmsConfig::perfpgm [private]

Definition at line 190 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), setupServer(), and xperf().

int XrdCmsConfig::perfint [private]

Definition at line 191 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), setupServer(), and xperf().

int XrdCmsConfig::cachelife [private]

Definition at line 192 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), Configure2(), and xfxhld().

int XrdCmsConfig::pendplife [private]

Definition at line 193 of file XrdCmsConfig.hh.

Referenced by ConfigDefaults(), and xprep().


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