Definition at line 31 of file XrdProofdConfig.h.
Public Member Functions | |
XrdProofdConfig (const char *cfg=0, XrdSysError *edest=0) | |
Main constructor. More... | |
virtual | ~XrdProofdConfig () |
const char * | CfgFile () const |
virtual int | Config (bool rcf=0) |
virtual int | DoDirective (XrdProofdDirective *, char *, XrdOucStream *, bool) |
virtual void | RegisterDirectives () |
void | SetCfgEDest (const char *cfg, XrdSysError *edest) |
Set config file and error handler. More... | |
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.
Reimplemented in XrdProofdAdmin, XrdProofdClientMgr, XrdProofdManager, XrdProofdNetMgr, XrdProofdPriorityMgr, XrdProofdProofServMgr, XrdProofSched, and XrdROOTMgr.
Definition at line 53 of file XrdProofdConfig.h.
|
inlinevirtual |
Reimplemented in XrdProofdAdmin, XrdProofdClientMgr, XrdProofdManager, XrdProofdNetMgr, XrdProofdPriorityMgr, XrdProofdProofServMgr, XrdProofSched, and XrdROOTMgr.
Definition at line 54 of file XrdProofdConfig.h.
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.
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.
|
inlineprotected |
Definition at line 44 of file XrdProofdConfig.h.
|
inlinevirtual |
Reimplemented in XrdProofdAdmin, XrdProofdClientMgr, XrdProofdManager, XrdProofdNetMgr, XrdProofdPriorityMgr, XrdProofdProofServMgr, XrdProofSched, and XrdROOTMgr.
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.
|
private |
Definition at line 34 of file XrdProofdConfig.h.
|
private |
Definition at line 35 of file XrdProofdConfig.h.
|
protected |
Definition at line 40 of file XrdProofdConfig.h.
|
staticprivate |
Definition at line 37 of file XrdProofdConfig.h.