#include <XrdROOT.h>
Inheritance diagram for XrdROOTMgr:

Public Member Functions | |
| XrdROOTMgr (XrdProofdManager *mgr, XrdProtocol_Config *pi, XrdSysError *e) | |
| virtual | ~XrdROOTMgr () |
| int | Config (bool rcf=0) |
| int | DoDirective (XrdProofdDirective *d, char *val, XrdOucStream *cfg, bool rcf) |
| XrdROOT * | DefaultVersion () const |
| XrdOucString | ExportVersions (XrdROOT *def) |
| XrdROOT * | GetVersion (const char *tag) |
| void | SetLogDir (const char *d) |
Private Member Functions | |
| int | Validate (XrdROOT *r, XrdScheduler *sched) |
| void | RegisterDirectives () |
| int | DoDirectiveRootSys (char *, XrdOucStream *, bool) |
Private Attributes | |
| XrdProofdManager * | fMgr |
| XrdSysLogger * | fLogger |
| XrdOucString | fLogDir |
| std::list< XrdROOT * > | fROOT |
Definition at line 97 of file XrdROOT.h.
| XrdROOTMgr::XrdROOTMgr | ( | XrdProofdManager * | mgr, | |
| XrdProtocol_Config * | pi, | |||
| XrdSysError * | e | |||
| ) |
Definition at line 277 of file XrdROOT.cxx.
References fLogger, fMgr, fROOT, pi, and RegisterDirectives().
| int XrdROOTMgr::Validate | ( | XrdROOT * | r, | |
| XrdScheduler * | sched | |||
| ) | [private] |
Definition at line 467 of file XrdROOT.cxx.
References XrdSysLogger::Bind(), XrdOucString::c_str(), XrdSysPriv::ChangePerm(), close, debug, pollfd::events, fclose(), pollfd::fd, XrdProofUI::fGid, fLogDir, fLogger, fMgr, fopen, XrdScheduler::Fork(), fp, fprintf(), XrdProofUI::fUid, XrdProofUI::fUser, XrdProofdAux::GetUserInfo(), XrdOucString::length(), pipe, poll(), POLLIN, putenv, read, XrdProofdProofServMgr::SetProofServEnv(), sprintf(), TRACE, TRACING, unlink, XPDFORM, and XPDLOC.
Referenced by Config(), and DoDirectiveRootSys().
| void XrdROOTMgr::RegisterDirectives | ( | ) | [private, virtual] |
Reimplemented from XrdProofdConfig.
Definition at line 380 of file XrdROOT.cxx.
References DoDirectiveClass(), and XrdProofdConfig::Register().
Referenced by XrdROOTMgr().
| int XrdROOTMgr::DoDirectiveRootSys | ( | char * | , | |
| XrdOucStream * | , | |||
| bool | ||||
| ) | [private] |
Definition at line 406 of file XrdROOT.cxx.
References a, XrdOucString::c_str(), XrdProofdAux::CheckIf(), dir(), XrdROOT::Dir(), fMgr, fROOT, XrdOucStream::GetWord(), XrdProofdManager::Host(), i, XrdOucString::length(), ok, XrdOucStream::RetToken(), SafeDelete, XrdProofdManager::Sched(), XrdROOT::Tag(), TRACE, Validate(), XPDFORM, and XPDLOC.
Referenced by DoDirective().
| int XrdROOTMgr::Config | ( | bool | rcf = 0 |
) | [virtual] |
Reimplemented from XrdProofdConfig.
Definition at line 311 of file XrdROOT.cxx.
References XrdOucString::c_str(), XrdProofdConfig::Config(), dir(), fMgr, fROOT, getenv(), id, XrdProofdManager::Sched(), TRACE, Validate(), XPDFORM, and XPDLOC.
Referenced by XrdProofdManager::Config().
| int XrdROOTMgr::DoDirective | ( | XrdProofdDirective * | d, | |
| char * | val, | |||
| XrdOucStream * | cfg, | |||
| bool | rcf | |||
| ) | [virtual] |
Reimplemented from XrdProofdConfig.
Definition at line 388 of file XrdROOT.cxx.
References d, DoDirectiveRootSys(), TRACE, and XPDLOC.
| XrdROOT* XrdROOTMgr::DefaultVersion | ( | ) | const [inline] |
Definition at line 118 of file XrdROOT.h.
References fROOT.
Referenced by XrdProofdProofServMgr::Create(), XrdProofSessionInfo::FillProofServ(), XrdProofdClientMgr::Login(), and XrdProofdAdmin::SetROOTVersion().
| XrdOucString XrdROOTMgr::ExportVersions | ( | XrdROOT * | def | ) |
| XrdROOT * XrdROOTMgr::GetVersion | ( | const char * | tag | ) |
Definition at line 679 of file XrdROOT.cxx.
References fROOT.
Referenced by XrdProofSessionInfo::FillProofServ(), and XrdProofdAdmin::SetROOTVersion().
| void XrdROOTMgr::SetLogDir | ( | const char * | d | ) |
Definition at line 291 of file XrdROOT.cxx.
References XrdProofdAux::AssertDir(), XrdProofdManager::ChangeOwn(), XrdProofdManager::EffectiveUser(), fLogDir, fMgr, XrdProofdAux::GetUserInfo(), TRACE, XPDERR, XPDFORM, and XPDLOC.
Referenced by XrdProofdManager::Config().
XrdProofdManager* XrdROOTMgr::fMgr [private] |
Definition at line 99 of file XrdROOT.h.
Referenced by Config(), DoDirectiveRootSys(), SetLogDir(), Validate(), and XrdROOTMgr().
XrdSysLogger* XrdROOTMgr::fLogger [private] |
XrdOucString XrdROOTMgr::fLogDir [private] |
std::list<XrdROOT *> XrdROOTMgr::fROOT [private] |
Definition at line 103 of file XrdROOT.h.
Referenced by Config(), DefaultVersion(), DoDirectiveRootSys(), ExportVersions(), GetVersion(), and XrdROOTMgr().
1.5.1