ROOT
6.06/09
Reference Guide
|
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... | |
int | DoDirective (XrdProofdDirective *d, char *val, XrdOucStream *cfg, bool rcf) |
Update the priorities of the active sessions. More... | |
XrdROOT * | DefaultVersion () const |
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... | |
Public Member Functions inherited from XrdProofdConfig | |
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 |
Private Member Functions | |
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... | |
void | RegisterDirectives () |
Register directives for configuration. More... | |
int | DoDirectiveRootSys (char *, XrdOucStream *, bool) |
Process 'rootsys' directive. More... | |
Private Attributes | |
XrdProofdManager * | fMgr |
XrdSysLogger * | fLogger |
XrdOucString | fLogDir |
std::list< XrdROOT * > | fROOT |
Additional Inherited Members | |
Protected Member Functions inherited from XrdProofdConfig | |
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 inherited from XrdProofdConfig | |
XrdSysError * | fEDest |
#include <XrdROOT.h>
XrdROOTMgr::XrdROOTMgr | ( | XrdProofdManager * | mgr, |
XrdProtocol_Config * | pi, | ||
XrdSysError * | e | ||
) |
Constructor.
Definition at line 319 of file XrdROOT.cxx.
|
virtual |
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.
Referenced by XrdProofdManager::Config().
|
inline |
Definition at line 118 of file XrdROOT.h.
Referenced by XrdProofdClientMgr::CheckClient(), XrdProofdManager::Config(), XrdProofSessionInfo::FillProofServ(), XrdProofdProofServMgr::PrepareProofServ(), XrdProofdAdmin::SetROOTVersion(), and XrdProofdProtocol::StartRootd().
|
virtual |
Update the priorities of the active sessions.
Reimplemented from XrdProofdConfig.
Definition at line 433 of file XrdROOT.cxx.
|
private |
Process 'rootsys' directive.
Definition at line 452 of file XrdROOT.cxx.
Referenced by DoDirective().
XrdOucString XrdROOTMgr::ExportVersions | ( | XrdROOT * | def | ) |
Return a string describing the available versions, with the default version 'def' markde with a '*'.
Definition at line 706 of file XrdROOT.cxx.
Referenced by XrdProofdAdmin::QueryROOTVersions().
XrdROOT * XrdROOTMgr::GetVersion | ( | const char * | tag | ) |
Return pointer to the ROOT version corresponding to 'tag' or 0 if not found.
Definition at line 730 of file XrdROOT.cxx.
Referenced by XrdProofdManager::Config(), XrdProofSessionInfo::FillProofServ(), and XrdProofdAdmin::SetROOTVersion().
|
privatevirtual |
Register directives for configuration.
Reimplemented from XrdProofdConfig.
Definition at line 425 of file XrdROOT.cxx.
Referenced by XrdROOTMgr().
void XrdROOTMgr::SetLogDir | ( | const char * | d | ) |
Set the log dir.
Definition at line 334 of file XrdROOT.cxx.
Referenced by XrdProofdManager::Config().
|
private |
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 516 of file XrdROOT.cxx.
Referenced by Config(), and DoDirectiveRootSys().
|
private |
Definition at line 101 of file XrdROOT.h.
Referenced by SetLogDir(), and Validate().
|
private |
Definition at line 100 of file XrdROOT.h.
Referenced by Validate(), and XrdROOTMgr().
|
private |
Definition at line 99 of file XrdROOT.h.
Referenced by Config(), DoDirectiveRootSys(), SetLogDir(), Validate(), and XrdROOTMgr().
|
private |
Definition at line 103 of file XrdROOT.h.
Referenced by Config(), DoDirectiveRootSys(), ExportVersions(), GetVersion(), and XrdROOTMgr().