#include <XrdOdcConfig.hh>

Public Member Functions | |
| int | Configure (char *cfn, const char *mode, int isBoth=0) |
| XrdOdcConfig (XrdSysError *erp) | |
| ~XrdOdcConfig () | |
Public Attributes | |
| int | ConWait |
| int | RepWait |
| int | RepWaitMS |
| int | RepDelay |
| int | RepNone |
| int | PrepWait |
| char * | OLBPath |
| char * | myHost |
| const char * | myName |
| XrdOucTList * | ManList |
| XrdOucTList * | PanList |
| unsigned char | SMode |
| unsigned char | SModeP |
Private Member Functions | |
| int | ConfigProc (char *cfn) |
| int | ConfigXeq (char *var, XrdOucStream &Config) |
| int | xapath (XrdSysError *eDest, XrdOucStream &Config) |
| int | xconw (XrdSysError *eDest, XrdOucStream &Config) |
| int | xmang (XrdSysError *eDest, XrdOucStream &Config) |
| int | xreqs (XrdSysError *eDest, XrdOucStream &Config) |
| int | xtrac (XrdSysError *eDest, XrdOucStream &Config) |
Private Attributes | |
| XrdSysError * | eDest |
| XrdOdcConfig::XrdOdcConfig | ( | XrdSysError * | erp | ) | [inline] |
| XrdOdcConfig::~XrdOdcConfig | ( | ) |
References ManList, XrdOucTList::next, and PanList.
| int XrdOdcConfig::ConfigProc | ( | char * | cfn | ) | [private] |
References XrdOucStream::Attach(), XrdOucStream::Close(), XrdCms::Config, ConfigXeq(), XrdOucStream::Echo(), eDest, XrdOucStream::GetMyFirstWord(), XrdOucStream::LastError(), and open().
Referenced by Configure().
| int XrdOdcConfig::Configure | ( | char * | cfn, | |
| const char * | mode, | |||
| int | isBoth = 0 | |||
| ) |
References ConfigProc(), eDest, XrdSysError::Emsg(), XrdOucUtils::genPath(), XrdOdcMsg::Init(), ManList, myHost, myName, XrdOucTList::next, OdcTrace, OLBPath, PanList, RepWait, RepWaitMS, SMode, SModeP, and XrdOucTrace::What.
Referenced by XrdOdcFinderTRG::Configure(), and XrdOdcFinderRMT::Configure().
| int XrdOdcConfig::ConfigXeq | ( | char * | var, | |
| XrdOucStream & | Config | |||
| ) | [private] |
References XrdOucStream::Echo(), eDest, XrdSysError::Say(), TS_Xeq, xapath(), xconw(), xmang(), xreqs(), and xtrac().
Referenced by ConfigProc().
| int XrdOdcConfig::xapath | ( | XrdSysError * | eDest, | |
| XrdOucStream & | Config | |||
| ) | [private] |
References XrdSysError::Emsg(), XrdOucStream::GetWord(), OLBPath, and sockaddr_un::sun_path.
Referenced by ConfigXeq().
| int XrdOdcConfig::xconw | ( | XrdSysError * | eDest, | |
| XrdOucStream & | Config | |||
| ) | [private] |
References XrdOuca2x::a2tm(), ConWait, XrdSysError::Emsg(), and XrdOucStream::GetWord().
Referenced by ConfigXeq().
| int XrdOdcConfig::xmang | ( | XrdSysError * | eDest, | |
| XrdOucStream & | Config | |||
| ) | [private] |
References XrdOuca2x::a2i(), XrdOucUtils::doIf(), eDest, XrdSysError::Emsg(), XrdNetDNS::getHostAddr(), XrdNetDNS::getHostName(), XrdNetDNS::getPort(), XrdOucStream::GetWord(), index(), ManList, myHost, myName, PanList, XrdMonCtrCollector::port, SMode, and SModeP.
Referenced by ConfigXeq().
| int XrdOdcConfig::xreqs | ( | XrdSysError * | eDest, | |
| XrdOucStream & | Config | |||
| ) | [private] |
References XrdOuca2x::a2i(), XrdOuca2x::a2tm(), XrdSysError::Emsg(), XrdOucStream::GetWord(), PrepWait, RepDelay, RepNone, RepWait, and XrdSysError::Say().
Referenced by ConfigXeq().
| int XrdOdcConfig::xtrac | ( | XrdSysError * | eDest, | |
| XrdOucStream & | Config | |||
| ) | [private] |
References XrdSysError::Emsg(), XrdOucStream::GetWord(), OdcTrace, XrdSysError::Say(), TRACE_ALL, TRACE_Debug, TRACE_Forward, TRACE_Redirect, and XrdOucTrace::What.
Referenced by ConfigXeq().
Referenced by XrdOdcFinderRMT::Configure(), xconw(), and XrdOdcConfig().
XrdSysError* XrdOdcConfig::eDest [private] |
Referenced by ConfigProc(), Configure(), ConfigXeq(), xmang(), and XrdOdcConfig().
Referenced by XrdOdcFinderRMT::Configure(), Configure(), xmang(), XrdOdcConfig(), and ~XrdOdcConfig().
| char* XrdOdcConfig::myHost |
Referenced by Configure(), and xmang().
| const char* XrdOdcConfig::myName |
Referenced by Configure(), and xmang().
| char* XrdOdcConfig::OLBPath |
Referenced by XrdOdcFinderTRG::Configure(), XrdOdcFinderRMT::Configure(), Configure(), xapath(), and XrdOdcConfig().
Referenced by XrdOdcFinderRMT::Configure(), Configure(), xmang(), XrdOdcConfig(), and ~XrdOdcConfig().
Referenced by XrdOdcFinderRMT::Configure(), XrdOdcConfig(), and xreqs().
Referenced by XrdOdcFinderRMT::Configure(), XrdOdcConfig(), and xreqs().
Referenced by XrdOdcFinderRMT::Configure(), XrdOdcConfig(), and xreqs().
Referenced by XrdOdcFinderRMT::Configure(), Configure(), XrdOdcConfig(), and xreqs().
Referenced by Configure(), and XrdOdcConfig().
| unsigned char XrdOdcConfig::SMode |
Referenced by XrdOdcFinderRMT::Configure(), Configure(), xmang(), and XrdOdcConfig().
| unsigned char XrdOdcConfig::SModeP |
Referenced by XrdOdcFinderRMT::Configure(), Configure(), xmang(), and XrdOdcConfig().
1.7.1