ROOT  6.06/09
Reference Guide
Public Member Functions | Private Member Functions | Private Attributes | List of all members
XrdROOTMgr Class Reference

Definition at line 97 of file XrdROOT.h.

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...
 
XrdROOTDefaultVersion () const
 
XrdOucString ExportVersions (XrdROOT *def)
 Return a string describing the available versions, with the default version 'def' markde with a '*'. More...
 
XrdROOTGetVersion (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

XrdProofdManagerfMgr
 
XrdSysLoggerfLogger
 
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
XrdSysErrorfEDest
 

#include <XrdROOT.h>

+ Inheritance diagram for XrdROOTMgr:
+ Collaboration diagram for XrdROOTMgr:

Constructor & Destructor Documentation

XrdROOTMgr::XrdROOTMgr ( XrdProofdManager mgr,
XrdProtocol_Config *  pi,
XrdSysError e 
)

Constructor.

Definition at line 319 of file XrdROOT.cxx.

virtual XrdROOTMgr::~XrdROOTMgr ( )
inlinevirtual

Definition at line 112 of file XrdROOT.h.

Member Function Documentation

int XrdROOTMgr::Config ( bool  rcf = 0)
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().

XrdROOT* XrdROOTMgr::DefaultVersion ( ) const
inline
int XrdROOTMgr::DoDirective ( XrdProofdDirective d,
char *  val,
XrdOucStream *  cfg,
bool  rcf 
)
virtual

Update the priorities of the active sessions.

Reimplemented from XrdProofdConfig.

Definition at line 433 of file XrdROOT.cxx.

int XrdROOTMgr::DoDirectiveRootSys ( char *  val,
XrdOucStream *  cfg,
bool   
)
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().

void XrdROOTMgr::RegisterDirectives ( )
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().

int XrdROOTMgr::Validate ( XrdROOT r,
XrdScheduler *  sched 
)
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().

Member Data Documentation

XrdOucString XrdROOTMgr::fLogDir
private

Definition at line 101 of file XrdROOT.h.

Referenced by SetLogDir(), and Validate().

XrdSysLogger* XrdROOTMgr::fLogger
private

Definition at line 100 of file XrdROOT.h.

Referenced by Validate(), and XrdROOTMgr().

XrdProofdManager* XrdROOTMgr::fMgr
private

Definition at line 99 of file XrdROOT.h.

Referenced by Config(), DoDirectiveRootSys(), SetLogDir(), Validate(), and XrdROOTMgr().

std::list<XrdROOT *> XrdROOTMgr::fROOT
private

Definition at line 103 of file XrdROOT.h.

Referenced by Config(), DoDirectiveRootSys(), ExportVersions(), GetVersion(), and XrdROOTMgr().


The documentation for this class was generated from the following files: