XrdProofdManager Class Reference

#include <XrdProofdManager.h>

Inheritance diagram for XrdProofdManager:

XrdProofdConfig List of all members.

Public Member Functions

 XrdProofdManager (XrdProtocol_Config *pi, XrdSysError *edest)
virtual ~XrdProofdManager ()
XrdSysRecMutexMutex ()
int Config (bool rcf=0)
int DoDirective (XrdProofdDirective *d, char *val, XrdOucStream *cfg, bool rcf)
void RegisterDirectives ()
int ResolveKeywords (XrdOucString &s, XrdProofdClient *pcl)
int GetWorkers (XrdOucString &workers, XrdProofdProofServ *, const char *)
const char * AdminPath () const
const char * BareLibPath () const
bool ChangeOwn () const
void CheckLogFileOwnership ()
bool CheckMaster (const char *m)
int CheckUser (const char *usr, XrdProofUI &ui, XrdOucString &e, bool &su)
int CronFrequency ()
const char * Host () const
const char * Image () const
bool IsSuperMst () const
const char * LocalROOT () const
bool MultiUser () const
const char * NameSpace () const
const char * PoolURL () const
int Port () const
int SrvType () const
const char * SockPathDir () const
const char * TMPdir () const
const char * WorkDir () const
const char * DataDir () const
const char * DataDirOpts () const
std::list< XrdProofdDSInfo * > * DataSetSrcs ()
XrdProofdClientMgrClientMgr () const
const char * EffectiveUser () const
XrdProofGroupMgrGroupsMgr () const
XrdProofSchedProofSched () const
XrdProofdProofServMgrSessionMgr () const
XrdProofdNetMgrNetMgr () const
XrdProofdAdminAdmin () const
XrdROOTMgrROOTMgr () const
XrdProofdPriorityMgrPriorityMgr () const
XrdSchedulerSched () const
int Process (XrdProofdProtocol *p)

Private Member Functions

int DoDirectiveAllow (char *, XrdOucStream *, bool)
int DoDirectiveAllowedGroups (char *, XrdOucStream *, bool)
int DoDirectiveAllowedUsers (char *, XrdOucStream *, bool)
int DoDirectiveDataDir (char *val, XrdOucStream *cfg, bool)
int DoDirectiveDataSetSrc (char *, XrdOucStream *, bool)
int DoDirectiveGroupfile (char *, XrdOucStream *, bool)
int DoDirectiveMaxOldLogs (char *, XrdOucStream *, bool)
int DoDirectiveMultiUser (char *, XrdOucStream *, bool)
int DoDirectivePort (char *, XrdOucStream *, bool)
int DoDirectiveRole (char *, XrdOucStream *, bool)
int DoDirectiveTrace (char *, XrdOucStream *, bool)
bool ValidateLocalDataSetSrc (XrdOucString &url, bool &local)
XrdProofSchedLoadScheduler ()

Private Attributes

XrdSysRecMutex fMutex
bool fSuperMst
XrdOucString fAdminPath
int fSrvType
XrdOucString fEffectiveUser
XrdOucString fHost
int fPort
XrdOucString fImage
XrdOucString fWorkDir
int fCronFrequency
XrdOucString fBareLibPath
XrdOucString fSockPathDir
XrdOucString fTMPdir
XrdOucString fPoolURL
XrdOucString fNamespace
XrdOucString fLocalroot
XrdOucString fDataDir
XrdOucString fDataDirOpts
XrdProofdClientMgrfClientMgr
XrdProofGroupMgrfGroupsMgr
XrdProofSchedfProofSched
XrdProofdProofServMgrfSessionMgr
XrdProofdNetMgrfNetMgr
XrdProofdAdminfAdmin
XrdROOTMgrfROOTMgr
XrdProofdPriorityMgrfPriorityMgr
XrdSchedulerfSched
XrdOucString fSuperUsers
int fOperationMode
XrdOucHash< int > fAllowedUsers
XrdOucHash< int > fAllowedGroups
bool fMultiUser
bool fChangeOwn
std::list< XrdOucString * > fMastersAllowed
std::list< XrdProofdDSInfo * > fDataSetSrcs

Detailed Description

Definition at line 56 of file XrdProofdManager.h.


Constructor & Destructor Documentation

XrdProofdManager::XrdProofdManager ( XrdProtocol_Config pi,
XrdSysError edest 
)

Definition at line 111 of file XrdProofdManager.cxx.

References fAdmin, fAdminPath, fChangeOwn, fClientMgr, fCronFrequency, fDataDir, fDataDirOpts, fEffectiveUser, fGroupsMgr, fHost, fImage, fMastersAllowed, fMultiUser, fNamespace, fNetMgr, fOperationMode, fPort, fPriorityMgr, fProofSched, fROOTMgr, fSched, fSessionMgr, fSockPathDir, fSrvType, fSuperMst, fTMPdir, fWorkDir, kXPD_AnyServer, kXPD_OpModeOpen, pi, RegisterDirectives(), and XPD_DEF_PORT.

XrdProofdManager::~XrdProofdManager (  )  [virtual]

Definition at line 174 of file XrdProofdManager.cxx.

References fAdmin, fClientMgr, fNetMgr, fPriorityMgr, fProofSched, fROOTMgr, fSessionMgr, and SafeDelete.


Member Function Documentation

XrdSysRecMutex* XrdProofdManager::Mutex (  )  [inline]

Definition at line 62 of file XrdProofdManager.h.

References fMutex.

int XrdProofdManager::Config ( bool  rcf = 0  )  [virtual]

Reimplemented from XrdProofdConfig.

Definition at line 528 of file XrdProofdManager.cxx.

References XrdOucHash< T >::Add(), XrdOucHash< T >::Apply(), XrdProofdAux::AssertDir(), XrdOucString::c_str(), closedir, XrdProofdConfig::Config(), XrdProofdPriorityMgr::Config(), XrdProofdProofServMgr::Config(), XrdProofdNetMgr::Config(), XrdROOTMgr::Config(), XrdProofdAdmin::Config(), XrdProofSched::Config(), XrdProofdClientMgr::Config(), dir(), XrdProofdProtocol::EUidAtStartup(), fAdmin, fAdminPath, fAllowedGroups, fAllowedUsers, fBareLibPath, fChangeOwn, fClientMgr, fclose(), fDataDir, fDataSetSrcs, fEffectiveUser, XrdProofUI::fGid, fGroupsMgr, fHost, FillKeyValues(), XrdOucString::find(), fMastersAllowed, fMultiUser, fMutex, fNamespace, fNetMgr, fopen, fOperationMode, fPoolURL, fPort, fprintf(), fPriorityMgr, fProofSched, fROOTMgr, fSessionMgr, fSockPathDir, fSrvType, fSuperUsers, fTMPdir, XrdProofUI::fUid, XrdProofUI::fUser, fWorkDir, getenv(), XrdNetDNS::getHostName(), XrdProofdAux::GetUserInfo(), i, int, kXPD_OpModeControlled, kXPD_Worker, XrdOucString::length(), LoadScheduler(), opendir, XrdProofGroupMgr::Print(), readdir, XrdSysThread::Run(), SafeFree, XrdROOTMgr::SetLogDir(), XrdProofdSandbox::SetWorkdir(), STR_NPOS, XrdOucString::tokenize(), TRACE, ValidateLocalDataSetSrc(), XrdProofdNetMgr::WorkerUsrCfg(), XPD_LIBPATH, XpdBadPGuard, XPDERR, XPDFORM, XPDLOC, and XrdProofdManagerCron().

Referenced by XrdProofdProtocol::Configure().

int XrdProofdManager::DoDirective ( XrdProofdDirective d,
char *  val,
XrdOucStream cfg,
bool  rcf 
) [virtual]

Reimplemented from XrdProofdConfig.

Definition at line 1027 of file XrdProofdManager.cxx.

References d, DoDirectiveAllow(), DoDirectiveAllowedGroups(), DoDirectiveAllowedUsers(), DoDirectiveDataDir(), DoDirectiveDataSetSrc(), DoDirectiveGroupfile(), DoDirectiveMaxOldLogs(), DoDirectiveMultiUser(), DoDirectivePort(), DoDirectiveRole(), DoDirectiveTrace(), TRACE, and XPDLOC.

void XrdProofdManager::RegisterDirectives (  )  [virtual]

Reimplemented from XrdProofdConfig.

Definition at line 928 of file XrdProofdManager.cxx.

References DoDirectiveClass(), DoDirectiveString(), fImage, fNamespace, fPoolURL, fSockPathDir, fSuperUsers, fTMPdir, fWorkDir, and XrdProofdConfig::Register().

Referenced by XrdProofdManager().

int XrdProofdManager::ResolveKeywords ( XrdOucString s,
XrdProofdClient pcl 
)

Definition at line 957 of file XrdProofdManager.cxx.

References XrdOucString::c_str(), XrdProofUI::fGid, XrdProofUI::fHomeDir, XrdProofUI::fUid, XrdProofdClient::Group(), Host(), s, STR_NPOS, TRACE, XrdProofdClient::UI(), XrdProofdClient::User(), WorkDir(), and XPDLOC.

Referenced by XrdProofdClientMgr::FilterSecConfig(), and WriteSessEnvs().

int XrdProofdManager::GetWorkers ( XrdOucString workers,
XrdProofdProofServ ,
const char *   
)

Definition at line 445 of file XrdProofdManager.cxx.

References XrdProofdProofServ::AddWorker(), XrdProofdNetMgr::Dump(), XrdProofdProofServ::ExportWorkers(), fNetMgr, fProofSched, XrdProofSched::GetWorkers(), ord, XrdProofdProofServ::ROOT(), XrdROOT::SrvProtVers(), TRACE, TRACING, w, XPD_GW_QueryEnqueued, XPDFORM, and XPDLOC.

Referenced by XrdProofdAdmin::GetWorkers(), and XrdProofSched::Reschedule().

const char* XrdProofdManager::AdminPath (  )  const [inline]

Definition at line 74 of file XrdProofdManager.h.

References XrdOucString::c_str(), and fAdminPath.

Referenced by XrdProofdProofServMgr::Config(), XrdProofdClientMgr::Config(), and XrdProofdProofServMgr::Create().

const char* XrdProofdManager::BareLibPath (  )  const [inline]

Definition at line 75 of file XrdProofdManager.h.

References XrdOucString::c_str(), and fBareLibPath.

Referenced by XrdProofdProofServMgr::SetProofServEnv().

bool XrdProofdManager::ChangeOwn (  )  const [inline]

Definition at line 76 of file XrdProofdManager.h.

References fChangeOwn.

Referenced by XrdProofdProofServMgr::CheckActiveSessions(), XrdProofdProofServMgr::CheckTerminatedSessions(), XrdProofdProofServMgr::CleanClientSessions(), XrdProofdProofServMgr::CleanupLostProofServ(), XrdProofdProofServMgr::CleanupProofServ(), XrdProofdProofServMgr::Create(), XrdProofdProofServMgr::Destroy(), XrdProofdClientMgr::GetClient(), XrdProofdProofServMgr::GetTagDirs(), XrdROOTMgr::SetLogDir(), XrdProofdProofServMgr::SetProofServEnv(), XrdProofdProofServMgr::SetProofServEnvOld(), XrdProofdProofServMgr::SetUserEnvironment(), XrdProofdProofServMgr::SetUserOwnerships(), and ValidateLocalDataSetSrc().

void XrdProofdManager::CheckLogFileOwnership (  ) 

Definition at line 189 of file XrdProofdManager.cxx.

References XrdProofdProtocol::EUidAtStartup(), fstat, passwd::pw_gid, passwd::pw_uid, stat, STDERR_FILENO, TRACE, and XPDLOC.

Referenced by XrdProofdManagerCron().

bool XrdProofdManager::CheckMaster ( const char *  m  ) 

Definition at line 224 of file XrdProofdManager.cxx.

References fMastersAllowed, i, and XrdOucString::matches().

Referenced by XrdProofdClientMgr::Login().

int XrdProofdManager::CheckUser ( const char *  usr,
XrdProofUI ui,
XrdOucString e,
bool &  su 
)

Definition at line 246 of file XrdProofdManager.cxx.

References XrdOucString::c_str(), fAllowedGroups, fAllowedUsers, fChangeOwn, XrdProofUI::fGid, XrdProofGI::fGroup, XrdOucHash< T >::Find(), fMutex, fOperationMode, fSuperUsers, XrdProofdAux::GetGroupInfo(), XrdProofdAux::GetUserInfo(), int, kXPD_OpModeControlled, XrdOucString::length(), XrdOucHash< T >::Num(), and XrdOucString::tokenize().

Referenced by XrdProofdClientMgr::GetClient(), and XrdProofdClientMgr::Login().

int XrdProofdManager::CronFrequency (  )  [inline]

Definition at line 80 of file XrdProofdManager.h.

References fCronFrequency.

Referenced by XrdProofdManagerCron().

const char* XrdProofdManager::Host (  )  const [inline]

Definition at line 81 of file XrdProofdManager.h.

References XrdOucString::c_str(), and fHost.

Referenced by XrdProofdNetMgr::Broadcast(), XrdProofdNetMgr::BroadcastCtrlC(), XrdProofdNetMgr::Config(), XrdProofdNetMgr::CreateDefaultPROOFcfg(), XrdProofdNetMgr::DoDirectiveAdminReqTO(), DoDirectiveAllow(), DoDirectiveAllowedGroups(), DoDirectiveAllowedUsers(), XrdProofdClientMgr::DoDirectiveClientMgr(), DoDirectiveGroupfile(), DoDirectiveMaxOldLogs(), DoDirectiveMultiUser(), XrdProofdProofServMgr::DoDirectiveProofServMgr(), DoDirectiveRole(), XrdROOTMgr::DoDirectiveRootSys(), XrdProofdPriorityMgr::DoDirectiveSchedOpt(), XrdProofdProofServMgr::DoDirectiveShutdown(), XrdProofdNetMgr::DoDirectiveWorker(), XrdProofdAdmin::Exec(), XrdProofdNetMgr::GetProofConn(), XrdProofdProofServMgr::GetTagDirs(), XrdProofdNetMgr::IsLocal(), XrdProofdAdmin::QueryLogPaths(), XrdProofdNetMgr::ReadPROOFcfg(), ResolveKeywords(), and XrdProofdProofServMgr::SetProofServEnv().

const char* XrdProofdManager::Image (  )  const [inline]

Definition at line 82 of file XrdProofdManager.h.

References XrdOucString::c_str(), and fImage.

Referenced by XrdProofdProofServMgr::SetProofServEnv().

bool XrdProofdManager::IsSuperMst (  )  const [inline]

Definition at line 83 of file XrdProofdManager.h.

References fSuperMst.

Referenced by XrdProofdProofServMgr::SetProofServEnv().

const char* XrdProofdManager::LocalROOT (  )  const [inline]

Definition at line 84 of file XrdProofdManager.h.

References XrdOucString::c_str(), and fLocalroot.

Referenced by XrdProofdProofServMgr::SetProofServEnv().

bool XrdProofdManager::MultiUser (  )  const [inline]

Definition at line 85 of file XrdProofdManager.h.

References fMultiUser.

Referenced by XrdProofdProofServMgr::CleanupProofServ().

const char* XrdProofdManager::NameSpace (  )  const [inline]

Definition at line 86 of file XrdProofdManager.h.

References XrdOucString::c_str(), and fNamespace.

Referenced by XrdProofdProofServMgr::Attach(), and XrdProofdProofServMgr::Create().

const char* XrdProofdManager::PoolURL (  )  const [inline]

Definition at line 87 of file XrdProofdManager.h.

References XrdOucString::c_str(), and fPoolURL.

Referenced by XrdProofdProofServMgr::Attach(), XrdProofdProofServMgr::Create(), XrdProofdAdmin::QueryLogPaths(), and XrdProofdProofServMgr::SetProofServEnv().

int XrdProofdManager::Port (  )  const [inline]

Definition at line 88 of file XrdProofdManager.h.

References fPort.

Referenced by XrdProofdNetMgr::Broadcast(), XrdProofdNetMgr::BroadcastCtrlC(), XrdProofdNetMgr::Config(), XrdProofdProofServMgr::Create(), XrdProofdNetMgr::CreateDefaultPROOFcfg(), XrdProofdAdmin::Exec(), XrdProofdNetMgr::IsLocal(), XrdProofdAdmin::QueryLogPaths(), XrdProofdProofServMgr::SetProofServEnv(), and XrdProofdProofServMgr::SetProofServEnvOld().

int XrdProofdManager::SrvType (  )  const [inline]

Definition at line 89 of file XrdProofdManager.h.

References fSrvType.

Referenced by XrdProofdAdmin::CleanupSessions(), XrdProofdNetMgr::Config(), XrdProofdProtocol::CtrlC(), XrdProofdNetMgr::DoDirectiveBonjour(), DoDirectiveRole(), XrdProofdAdmin::Exec(), XrdProofdClientMgr::GetClient(), XrdProofdClientMgr::Login(), and XrdProofdAdmin::SetROOTVersion().

const char* XrdProofdManager::SockPathDir (  )  const [inline]

Definition at line 90 of file XrdProofdManager.h.

References XrdOucString::c_str(), and fSockPathDir.

Referenced by XrdProofdProofServMgr::Create().

const char* XrdProofdManager::TMPdir (  )  const [inline]

Definition at line 91 of file XrdProofdManager.h.

References XrdOucString::c_str(), and fTMPdir.

Referenced by XrdProofdClientMgr::FilterSecConfig(), XrdProofdProofServMgr::SetProofServEnv(), and XrdProofdProofServMgr::SetProofServEnvOld().

const char* XrdProofdManager::WorkDir (  )  const [inline]

Definition at line 92 of file XrdProofdManager.h.

References XrdOucString::c_str(), and fWorkDir.

Referenced by ResolveKeywords().

const char* XrdProofdManager::DataDir (  )  const [inline]

Definition at line 93 of file XrdProofdManager.h.

References XrdOucString::c_str(), and fDataDir.

Referenced by XrdProofdProofServMgr::SetProofServEnv(), and XrdProofdProofServMgr::SetUserOwnerships().

const char* XrdProofdManager::DataDirOpts (  )  const [inline]

Definition at line 94 of file XrdProofdManager.h.

References XrdOucString::c_str(), and fDataDirOpts.

Referenced by XrdProofdProofServMgr::Create(), and XrdProofdProofServMgr::SetUserOwnerships().

std::list<XrdProofdDSInfo *>* XrdProofdManager::DataSetSrcs (  )  [inline]

Definition at line 96 of file XrdProofdManager.h.

References fDataSetSrcs.

Referenced by XrdProofdProofServMgr::SetProofServEnv(), and XrdProofdProofServMgr::SetUserOwnerships().

XrdProofdClientMgr* XrdProofdManager::ClientMgr (  )  const [inline]

Definition at line 99 of file XrdProofdManager.h.

References fClientMgr.

Referenced by XrdProofdProofServMgr::CleanClientSessions(), XrdProofdAdmin::CleanupSessions(), XrdProofdProofServMgr::Config(), XrdProofdProofServMgr::PrepareSessionRecovering(), XrdProofdAdmin::QueryLogPaths(), XrdProofdProtocol::Recycle(), XrdProofdProofServMgr::ResolveSession(), XrdProofdAdmin::SendMsgToUser(), and XrdProofdAdmin::SetROOTVersion().

const char* XrdProofdManager::EffectiveUser (  )  const [inline]

Definition at line 100 of file XrdProofdManager.h.

References XrdOucString::c_str(), and fEffectiveUser.

Referenced by XrdProofdNetMgr::Broadcast(), XrdProofdNetMgr::BroadcastCtrlC(), XrdProofdProofServMgr::CleanupLostProofServ(), XrdProofdProofServMgr::Config(), XrdProofdClientMgr::Config(), XrdProofdClientMgr::CreateAdminPath(), XrdProofdAdmin::Exec(), XrdProofdAdmin::QueryLogPaths(), XrdProofdNetMgr::ReadBuffer(), XrdProofdNetMgr::ReadBufferRemote(), and XrdROOTMgr::SetLogDir().

XrdProofGroupMgr* XrdProofdManager::GroupsMgr (  )  const [inline]

Definition at line 101 of file XrdProofdManager.h.

References fGroupsMgr.

Referenced by XrdProofdProofServMgr::BroadcastPriorities(), XrdProofdPriorityMgr::Config(), XrdProofdClientMgr::Config(), XrdProofdClientMgr::GetClient(), XrdProofdClientMgr::Login(), XrdProofdPriorityMgr::SetGroupPriority(), XrdProofdPriorityMgr::SetNiceValues(), XrdProofdProofServMgr::SetProofServEnv(), XrdProofdAdmin::SetROOTVersion(), and XrdProofdManagerCron().

XrdProofSched* XrdProofdManager::ProofSched (  )  const [inline]

Definition at line 102 of file XrdProofdManager.h.

References fProofSched.

Referenced by XrdProofdProofServMgr::Create(), XrdProofdProtocol::PostSession(), XrdProofdProofServMgr::PrepareSessionRecovering(), and XrdProofdAdmin::QueryWorkers().

XrdProofdProofServMgr* XrdProofdManager::SessionMgr (  )  const [inline]

Definition at line 103 of file XrdProofdManager.h.

References fSessionMgr.

Referenced by XrdProofdAdmin::CleanupSessions(), XrdProofdClientMgr::Config(), XrdProofdAdmin::CpFile(), XrdProofdAdmin::ExecCmd(), XrdProofdAdmin::GetFile(), XrdProofSched::GetNumWorkers(), XrdProofdProtocol::Ping(), XrdProofdProtocol::PostSession(), XrdProofdAdmin::PutFile(), XrdProofdAdmin::QuerySessions(), XrdProofdProtocol::Recycle(), XrdProofdClientMgr::TerminateSessions(), and XrdProofdManagerCron().

XrdProofdNetMgr* XrdProofdManager::NetMgr (  )  const [inline]

Definition at line 104 of file XrdProofdManager.h.

References fNetMgr.

Referenced by XrdProofdAdmin::CleanupSessions(), XrdProofdProtocol::CtrlC(), XrdProofdAdmin::Exec(), XrdProofSched::ExportInfo(), XrdProofSched::GetNumWorkers(), XrdProofSched::GetWorkers(), XrdProofdAdmin::QueryLogPaths(), XrdProofdAdmin::ReleaseWorker(), XrdProofdProofServMgr::SetProofServEnv(), XrdProofdProofServMgr::SetProofServEnvOld(), and XrdProofdAdmin::SetROOTVersion().

XrdProofdAdmin* XrdProofdManager::Admin (  )  const [inline]

Definition at line 105 of file XrdProofdManager.h.

References fAdmin.

XrdROOTMgr* XrdProofdManager::ROOTMgr (  )  const [inline]

Definition at line 106 of file XrdProofdManager.h.

References fROOTMgr.

Referenced by XrdProofdProofServMgr::Create(), XrdProofdClientMgr::Login(), XrdProofdAdmin::QueryROOTVersions(), XrdProofdProofServMgr::ResolveSession(), and XrdProofdAdmin::SetROOTVersion().

XrdProofdPriorityMgr* XrdProofdManager::PriorityMgr (  )  const [inline]

Definition at line 107 of file XrdProofdManager.h.

References fPriorityMgr.

Referenced by XrdProofdProofServMgr::Create(), XrdProofdProtocol::PostSession(), and XrdProofdAdmin::SetGroupProperties().

XrdScheduler* XrdProofdManager::Sched (  )  const [inline]

Definition at line 108 of file XrdProofdManager.h.

References fSched.

Referenced by XrdProofdProofServMgr::Accept(), XrdROOTMgr::Config(), XrdProofdAdmin::CpFile(), XrdProofdProofServMgr::Create(), XrdROOTMgr::DoDirectiveRootSys(), XrdProofdAdmin::ExecCmd(), XrdProofdAdmin::GetFile(), and XrdProofdAdmin::PutFile().

int XrdProofdManager::Process ( XrdProofdProtocol p  ) 

Definition at line 1466 of file XrdProofdManager.cxx.

References XrdProofdClientMgr::Auth(), emsg(), fAdmin, fClientMgr, fNetMgr, fSessionMgr, kXP_admin, kXP_attach, kXP_auth, kXP_create, kXP_destroy, kXP_detach, kXP_login, kXP_readbuf, kXR_InvalidRequest, XrdProofdClientMgr::Login(), p, XrdProofdAdmin::Process(), XrdProofdProofServMgr::Process(), XrdProofdAux::ProofRequestTypes(), XrdProofdNetMgr::ReadBuffer(), TRACEP, type, XPD_LOGGEDIN, XPD_SETRESP, and XPDLOC.

Referenced by XrdProofdProtocol::Process2().

int XrdProofdManager::DoDirectiveAllow ( char *  ,
XrdOucStream ,
bool   
) [private]

Definition at line 1211 of file XrdProofdManager.cxx.

References XrdProofdAux::CheckIf(), fMastersAllowed, and Host().

Referenced by DoDirective().

int XrdProofdManager::DoDirectiveAllowedGroups ( char *  ,
XrdOucStream ,
bool   
) [private]

Definition at line 1230 of file XrdProofdManager.cxx.

References XrdOucHash< T >::Add(), XrdOucString::beginswith(), XrdOucString::c_str(), XrdProofdAux::CheckIf(), XrdOucString::erasefromstart(), fAllowedGroups, fOperationMode, XrdProofdAux::GetGroupInfo(), Host(), int, kXPD_OpModeControlled, s, STR_NPOS, TRACE, and XPDLOC.

Referenced by DoDirective().

int XrdProofdManager::DoDirectiveAllowedUsers ( char *  ,
XrdOucStream ,
bool   
) [private]

Definition at line 1272 of file XrdProofdManager.cxx.

References XrdOucHash< T >::Add(), XrdOucString::beginswith(), XrdOucString::c_str(), XrdProofdAux::CheckIf(), XrdOucString::erasefromstart(), fAllowedUsers, fOperationMode, XrdProofdAux::GetUserInfo(), Host(), int, kXPD_OpModeControlled, s, STR_NPOS, TRACE, and XPDLOC.

Referenced by DoDirective().

int XrdProofdManager::DoDirectiveDataDir ( char *  val,
XrdOucStream cfg,
bool   
) [private]

Definition at line 1444 of file XrdProofdManager.cxx.

References fDataDir, fDataDirOpts, XrdOucStream::GetWord(), and opts.

Referenced by DoDirective().

int XrdProofdManager::DoDirectiveDataSetSrc ( char *  ,
XrdOucStream ,
bool   
) [private]

Definition at line 1397 of file XrdProofdManager.cxx.

References XrdOucString::c_str(), fDataSetSrcs, XrdOucStream::GetWord(), local, opts, and type.

Referenced by DoDirective().

int XrdProofdManager::DoDirectiveGroupfile ( char *  ,
XrdOucStream ,
bool   
) [private]

Definition at line 1164 of file XrdProofdManager.cxx.

References XrdProofdAux::CheckIf(), XrdProofGroupMgr::Config(), fGroupsMgr, Host(), SafeDelete, TRACE, and XPDLOC.

Referenced by DoDirective().

int XrdProofdManager::DoDirectiveMaxOldLogs ( char *  ,
XrdOucStream ,
bool   
) [private]

Definition at line 1191 of file XrdProofdManager.cxx.

References XrdProofdAux::CheckIf(), Host(), XrdProofdSandbox::SetMaxOldSessions(), and strtol().

Referenced by DoDirective().

int XrdProofdManager::DoDirectiveMultiUser ( char *  ,
XrdOucStream ,
bool   
) [private]

Definition at line 1377 of file XrdProofdManager.cxx.

References XrdProofdAux::CheckIf(), fMultiUser, Host(), and strtol().

Referenced by DoDirective().

int XrdProofdManager::DoDirectivePort ( char *  ,
XrdOucStream ,
bool   
) [private]

Definition at line 1356 of file XrdProofdManager.cxx.

References fPort, XrdMonCtrCollector::port, strtol(), and XPD_DEF_PORT.

Referenced by DoDirective().

int XrdProofdManager::DoDirectiveRole ( char *  ,
XrdOucStream ,
bool   
) [private]

Definition at line 1314 of file XrdProofdManager.cxx.

References XrdProofdAux::CheckIf(), fNetMgr, fSrvType, fSuperMst, Host(), kXPD_AnyServer, kXPD_Master, kXPD_TopMaster, kXPD_Worker, SrvType(), TRACE, tval, and XPDLOC.

Referenced by DoDirective().

int XrdProofdManager::DoDirectiveTrace ( char *  ,
XrdOucStream ,
bool   
) [private]

Definition at line 1067 of file XrdProofdManager.cxx.

References XrdOucStream::GetWord(), MEM, TRACE, TRACE_ALL, TRACESET, XrdOucTrace::What, XPDLOC, and XrdProofdTrace.

Referenced by DoDirective().

bool XrdProofdManager::ValidateLocalDataSetSrc ( XrdOucString url,
bool &  local 
) [private]

Definition at line 845 of file XrdProofdManager.cxx.

References access, XrdProofdAux::AssertDir(), XrdOucString::beginswith(), XrdOucString::c_str(), XrdProofdAux::ChangeMod(), XrdProofdAux::ChangeOwn(), ChangeOwn(), XrdProofdProtocol::EUidAtStartup(), fclose(), fopen, fprintf(), XrdProofdAux::GetUserInfo(), XrdOucString::insert(), XrdOucString::length(), XrdOucString::replace(), TRACE, and XPDLOC.

Referenced by Config().

XrdProofSched * XrdProofdManager::LoadScheduler (  )  [private]

Definition at line 362 of file XrdProofdManager.cxx.

References XrdOucStream::Attach(), XrdOucString::beginswith(), XrdOucString::c_str(), XrdProofdConfig::CfgFile(), XrdProofdAux::Expand(), XrdProofdConfig::fEDest, fGroupsMgr, getenv(), XrdOucStream::GetMyFirstWord(), XrdOucStream::GetWord(), h, XrdProofSched::IsValid(), XrdOucString::length(), m, name, XrdProofSched::Name(), open, TRACE, val, XPDFORM, XPDLOC, and XrdSysPlugin.

Referenced by Config().


Member Data Documentation

XrdSysRecMutex XrdProofdManager::fMutex [private]

Definition at line 114 of file XrdProofdManager.h.

Referenced by CheckUser(), Config(), and Mutex().

bool XrdProofdManager::fSuperMst [private]

Definition at line 116 of file XrdProofdManager.h.

Referenced by DoDirectiveRole(), IsSuperMst(), and XrdProofdManager().

XrdOucString XrdProofdManager::fAdminPath [private]

Definition at line 118 of file XrdProofdManager.h.

Referenced by AdminPath(), Config(), and XrdProofdManager().

int XrdProofdManager::fSrvType [private]

Definition at line 120 of file XrdProofdManager.h.

Referenced by Config(), DoDirectiveRole(), SrvType(), and XrdProofdManager().

XrdOucString XrdProofdManager::fEffectiveUser [private]

Definition at line 121 of file XrdProofdManager.h.

Referenced by Config(), EffectiveUser(), and XrdProofdManager().

XrdOucString XrdProofdManager::fHost [private]

Definition at line 122 of file XrdProofdManager.h.

Referenced by Config(), Host(), and XrdProofdManager().

int XrdProofdManager::fPort [private]

Definition at line 123 of file XrdProofdManager.h.

Referenced by Config(), DoDirectivePort(), Port(), and XrdProofdManager().

XrdOucString XrdProofdManager::fImage [private]

Definition at line 124 of file XrdProofdManager.h.

Referenced by Image(), RegisterDirectives(), and XrdProofdManager().

XrdOucString XrdProofdManager::fWorkDir [private]

Definition at line 125 of file XrdProofdManager.h.

Referenced by Config(), RegisterDirectives(), WorkDir(), and XrdProofdManager().

int XrdProofdManager::fCronFrequency [private]

Definition at line 126 of file XrdProofdManager.h.

Referenced by CronFrequency(), and XrdProofdManager().

XrdOucString XrdProofdManager::fBareLibPath [private]

Definition at line 128 of file XrdProofdManager.h.

Referenced by BareLibPath(), and Config().

XrdOucString XrdProofdManager::fSockPathDir [private]

Definition at line 129 of file XrdProofdManager.h.

Referenced by Config(), RegisterDirectives(), SockPathDir(), and XrdProofdManager().

XrdOucString XrdProofdManager::fTMPdir [private]

Definition at line 130 of file XrdProofdManager.h.

Referenced by Config(), RegisterDirectives(), TMPdir(), and XrdProofdManager().

XrdOucString XrdProofdManager::fPoolURL [private]

Definition at line 131 of file XrdProofdManager.h.

Referenced by Config(), PoolURL(), and RegisterDirectives().

XrdOucString XrdProofdManager::fNamespace [private]

Definition at line 132 of file XrdProofdManager.h.

Referenced by Config(), NameSpace(), RegisterDirectives(), and XrdProofdManager().

XrdOucString XrdProofdManager::fLocalroot [private]

Definition at line 133 of file XrdProofdManager.h.

Referenced by LocalROOT().

XrdOucString XrdProofdManager::fDataDir [private]

Definition at line 134 of file XrdProofdManager.h.

Referenced by Config(), DataDir(), DoDirectiveDataDir(), and XrdProofdManager().

XrdOucString XrdProofdManager::fDataDirOpts [private]

Definition at line 135 of file XrdProofdManager.h.

Referenced by DataDirOpts(), DoDirectiveDataDir(), and XrdProofdManager().

XrdProofdClientMgr* XrdProofdManager::fClientMgr [private]

Definition at line 138 of file XrdProofdManager.h.

Referenced by ClientMgr(), Config(), Process(), XrdProofdManager(), and ~XrdProofdManager().

XrdProofGroupMgr* XrdProofdManager::fGroupsMgr [private]

Definition at line 139 of file XrdProofdManager.h.

Referenced by Config(), DoDirectiveGroupfile(), GroupsMgr(), LoadScheduler(), and XrdProofdManager().

XrdProofSched* XrdProofdManager::fProofSched [private]

Definition at line 140 of file XrdProofdManager.h.

Referenced by Config(), GetWorkers(), ProofSched(), XrdProofdManager(), and ~XrdProofdManager().

XrdProofdProofServMgr* XrdProofdManager::fSessionMgr [private]

Definition at line 141 of file XrdProofdManager.h.

Referenced by Config(), Process(), SessionMgr(), XrdProofdManager(), and ~XrdProofdManager().

XrdProofdNetMgr* XrdProofdManager::fNetMgr [private]

Definition at line 142 of file XrdProofdManager.h.

Referenced by Config(), DoDirectiveRole(), GetWorkers(), NetMgr(), Process(), XrdProofdManager(), and ~XrdProofdManager().

XrdProofdAdmin* XrdProofdManager::fAdmin [private]

Definition at line 143 of file XrdProofdManager.h.

Referenced by Admin(), Config(), Process(), XrdProofdManager(), and ~XrdProofdManager().

XrdROOTMgr* XrdProofdManager::fROOTMgr [private]

Definition at line 144 of file XrdProofdManager.h.

Referenced by Config(), ROOTMgr(), XrdProofdManager(), and ~XrdProofdManager().

XrdProofdPriorityMgr* XrdProofdManager::fPriorityMgr [private]

Definition at line 145 of file XrdProofdManager.h.

Referenced by Config(), PriorityMgr(), XrdProofdManager(), and ~XrdProofdManager().

XrdScheduler* XrdProofdManager::fSched [private]

Definition at line 147 of file XrdProofdManager.h.

Referenced by Sched(), and XrdProofdManager().

XrdOucString XrdProofdManager::fSuperUsers [private]

Definition at line 149 of file XrdProofdManager.h.

Referenced by CheckUser(), Config(), and RegisterDirectives().

int XrdProofdManager::fOperationMode [private]

Definition at line 151 of file XrdProofdManager.h.

Referenced by CheckUser(), Config(), DoDirectiveAllowedGroups(), DoDirectiveAllowedUsers(), and XrdProofdManager().

XrdOucHash<int> XrdProofdManager::fAllowedUsers [private]

Definition at line 152 of file XrdProofdManager.h.

Referenced by CheckUser(), Config(), and DoDirectiveAllowedUsers().

XrdOucHash<int> XrdProofdManager::fAllowedGroups [private]

Definition at line 153 of file XrdProofdManager.h.

Referenced by CheckUser(), Config(), and DoDirectiveAllowedGroups().

bool XrdProofdManager::fMultiUser [private]

Definition at line 154 of file XrdProofdManager.h.

Referenced by Config(), DoDirectiveMultiUser(), MultiUser(), and XrdProofdManager().

bool XrdProofdManager::fChangeOwn [private]

Definition at line 155 of file XrdProofdManager.h.

Referenced by ChangeOwn(), CheckUser(), Config(), and XrdProofdManager().

std::list<XrdOucString *> XrdProofdManager::fMastersAllowed [private]

Definition at line 159 of file XrdProofdManager.h.

Referenced by CheckMaster(), Config(), DoDirectiveAllow(), and XrdProofdManager().

std::list<XrdProofdDSInfo *> XrdProofdManager::fDataSetSrcs [private]

Definition at line 160 of file XrdProofdManager.h.

Referenced by Config(), DataSetSrcs(), and DoDirectiveDataSetSrc().


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:50:42 2011 for ROOT_528-00b_version by  doxygen 1.5.1