Public Member Functions | |
XrdROOTMgr (XrdProofdManager *mgr, XrdProtocol_Config *pi, XrdSysError *e) | |
Constructor. More... | |
virtual | ~XrdROOTMgr () |
int | Config (bool rcf=0) |
Run configuration and parse the entered config directives. More... | |
XrdROOT * | DefaultVersion () const |
int | DoDirective (XrdProofdDirective *d, char *val, XrdOucStream *cfg, bool rcf) |
Update the priorities of the active sessions. More... | |
XrdOucString | ExportVersions (XrdROOT *def) |
Return a string describing the available versions, with the default version 'def' markde with a '*'. More... | |
XrdROOT * | GetVersion (const char *tag) |
Return pointer to the ROOT version corresponding to 'tag' or 0 if not found. More... | |
void | SetLogDir (const char *d) |
Set the log dir. More... | |
![]() | |
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... | |
Private Member Functions | |
int | DoDirectiveRootSys (char *, XrdOucStream *, bool) |
Process 'rootsys' directive. More... | |
void | RegisterDirectives () |
Register directives for configuration. More... | |
int | Validate (XrdROOT *r, XrdScheduler *sched) |
Start a trial server application to test forking and get the version of the protocol run by the PROOF server. More... | |
Private Attributes | |
XrdOucString | fLogDir |
XrdSysLogger * | fLogger |
XrdProofdManager * | fMgr |
std::list< XrdROOT * > | fROOT |
Additional Inherited Members | |
![]() | |
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) |
![]() | |
XrdSysError * | fEDest |
#include <XrdROOT.h>
XrdROOTMgr::XrdROOTMgr | ( | XrdProofdManager * | mgr, |
XrdProtocol_Config * | pi, | ||
XrdSysError * | e | ||
) |
Constructor.
Definition at line 319 of file XrdROOT.cxx.
Run configuration and parse the entered config directives.
Return 0 on success, -1 on error
Reimplemented from XrdProofdConfig.
Definition at line 356 of file XrdROOT.cxx.
|
virtual |
Update the priorities of the active sessions.
Reimplemented from XrdProofdConfig.
Definition at line 441 of file XrdROOT.cxx.
Process 'rootsys' directive.
Definition at line 460 of file XrdROOT.cxx.
XrdOucString XrdROOTMgr::ExportVersions | ( | XrdROOT * | def | ) |
Return a string describing the available versions, with the default version 'def' markde with a '*'.
Definition at line 714 of file XrdROOT.cxx.
XrdROOT * XrdROOTMgr::GetVersion | ( | const char * | tag | ) |
Return pointer to the ROOT version corresponding to 'tag' or 0 if not found.
Definition at line 738 of file XrdROOT.cxx.
|
privatevirtual |
Register directives for configuration.
Reimplemented from XrdProofdConfig.
Definition at line 433 of file XrdROOT.cxx.
void XrdROOTMgr::SetLogDir | ( | const char * | d | ) |
Set the log dir.
Definition at line 334 of file XrdROOT.cxx.
Start a trial server application to test forking and get the version of the protocol run by the PROOF server.
Return 0 if everything goes well, -1 in case of any error.
Definition at line 524 of file XrdROOT.cxx.
|
private |
|
private |