ROOT
6.06/09
Reference Guide
|
Definition at line 31 of file XrdProofdConfig.h.
Public Member Functions | |
XrdProofdConfig (const char *cfg=0, XrdSysError *edest=0) | |
Main constructor. More... | |
virtual | ~XrdProofdConfig () |
void | SetCfgEDest (const char *cfg, XrdSysError *edest) |
Set config file and error handler. More... | |
const char * | CfgFile () const |
virtual int | Config (bool rcf=0) |
virtual int | DoDirective (XrdProofdDirective *, char *, XrdOucStream *, bool) |
virtual void | RegisterDirectives () |
Protected Member Functions | |
int | ParseFile (bool rcf=false) |
Parse config file for the registered directives. More... | |
bool | ReadFile (bool update=true) |
Return true if the file has never been read or did change since last reading, false otherwise. More... | |
void | Register (const char *dname, XrdProofdDirective *d) |
Protected Attributes | |
XrdSysError * | fEDest |
Private Attributes | |
XrdProofdFile | fCfgFile |
XrdOucHash< XrdProofdDirective > | fDirectives |
Static Private Attributes | |
static XrdOucString | fgHost |
#include <XrdProofdConfig.h>
XrdProofdConfig::XrdProofdConfig | ( | const char * | cfg = 0 , |
XrdSysError * | edest = 0 |
||
) |
Main constructor.
Definition at line 42 of file XrdProofdConfig.cxx.
|
inlinevirtual |
Definition at line 48 of file XrdProofdConfig.h.
|
inline |
Definition at line 51 of file XrdProofdConfig.h.
Referenced by XrdProofdProofServMgr::CreateProofServEnvFile(), XrdProofdClientMgr::FilterSecConfig(), XrdProofdManager::LoadScheduler(), and XrdProofdClientMgr::LoadSecurity().
|
inlinevirtual |
Reimplemented in XrdProofdProofServMgr, XrdROOTMgr, XrdProofSched, XrdProofdClientMgr, XrdProofdPriorityMgr, XrdProofdNetMgr, XrdProofdAdmin, and XrdProofdManager.
Definition at line 53 of file XrdProofdConfig.h.
Referenced by XrdProofdManager::Config(), XrdProofdAdmin::Config(), XrdProofdNetMgr::Config(), XrdProofdPriorityMgr::Config(), XrdProofdClientMgr::Config(), XrdProofSched::Config(), XrdROOTMgr::Config(), and XrdProofdProofServMgr::Config().
|
inlinevirtual |
Reimplemented in XrdProofdProofServMgr, XrdROOTMgr, XrdProofSched, XrdProofdClientMgr, XrdProofdPriorityMgr, XrdProofdNetMgr, XrdProofdAdmin, and XrdProofdManager.
Definition at line 54 of file XrdProofdConfig.h.
|
protected |
Parse config file for the registered directives.
The flag 'rcf' is 0 on the first call, 1 on successive calls. Returns 0 on success, -1 otherwise
Definition at line 102 of file XrdProofdConfig.cxx.
Referenced by Config().
|
protected |
Return true if the file has never been read or did change since last reading, false otherwise.
If update is true, the modification time is updated, so next call will return 0.
Definition at line 67 of file XrdProofdConfig.cxx.
Referenced by XrdProofdProofServMgr::Config(), and ParseFile().
|
inlineprotected |
Definition at line 44 of file XrdProofdConfig.h.
Referenced by XrdProofdAdmin::RegisterDirectives(), XrdProofdManager::RegisterDirectives(), XrdProofdPriorityMgr::RegisterDirectives(), XrdProofdClientMgr::RegisterDirectives(), XrdProofdNetMgr::RegisterDirectives(), XrdROOTMgr::RegisterDirectives(), XrdProofSched::RegisterDirectives(), and XrdProofdProofServMgr::RegisterDirectives().
|
inlinevirtual |
Reimplemented in XrdProofdProofServMgr, XrdProofSched, XrdROOTMgr, XrdProofdNetMgr, XrdProofdClientMgr, XrdProofdPriorityMgr, XrdProofdManager, and XrdProofdAdmin.
Definition at line 56 of file XrdProofdConfig.h.
void XrdProofdConfig::SetCfgEDest | ( | const char * | cfg, |
XrdSysError * | edest | ||
) |
Set config file and error handler.
Definition at line 51 of file XrdProofdConfig.cxx.
Referenced by XrdProofdConfig().
|
private |
Definition at line 34 of file XrdProofdConfig.h.
Referenced by ParseFile(), ReadFile(), and SetCfgEDest().
|
private |
Definition at line 35 of file XrdProofdConfig.h.
Referenced by ParseFile().
|
protected |
Definition at line 40 of file XrdProofdConfig.h.
Referenced by XrdProofdPriorityMgr::Config(), XrdProofdProofServMgr::Create(), XrdProofdProofServMgr::CreateSockPath(), XrdProofdClientMgr::GetClient(), XrdProofdManager::LoadScheduler(), XrdProofdClientMgr::LoadSecurity(), ParseFile(), XrdProofdProofServMgr::ResolveSession(), and SetCfgEDest().
|
staticprivate |
Definition at line 37 of file XrdProofdConfig.h.
Referenced by ParseFile().