72 TProofMgr(
const char *url,
Int_t loglevel = -1,
const char *alias =
"");
112 virtual Int_t Cp(
const char *,
const char * = 0,
const char * = 0) {
return -1; }
113 virtual void Find(
const char * =
"~/",
const char * = 0,
const char * = 0) { }
114 virtual void Grep(
const char *,
const char * = 0,
const char * = 0) { }
115 virtual void Ls(
const char * =
"~/",
const char * = 0,
const char * = 0) { }
116 virtual void More(
const char *,
const char * = 0,
const char * = 0) { }
117 virtual Int_t Rm(
const char *,
const char * = 0,
const char * = 0);
118 virtual void Tail(
const char *,
const char * = 0,
const char * = 0) { }
122 virtual Int_t GetFile(
const char *,
const char *,
const char * = 0) {
return -1; }
123 virtual Int_t PutFile(
const char *,
const char *,
const char * = 0) {
return -1; }
157 TProofDesc(
const char *tag = 0,
const char *alias = 0,
const char *url = 0,
#define ClassDef(name, id)
TProofMgr *(* TProofMgr_t)(const char *, Int_t, const char *)
Class that contains a list of TFileInfo's and accumulated meta data information about its entries.
The TNamed class is the base class for all named ROOT classes.
virtual void SetTitle(const char *title="")
Set the title of the TNamed.
Collectable string class.
TProof * GetProof() const
TProofDesc & operator=(const TProofDesc &)
TProofDesc(const TProofDesc &)
TProofDesc(const char *tag=0, const char *alias=0, const char *url=0, Int_t id=-1, Int_t remid=-1, Int_t status=kIdle, TProof *p=0)
Bool_t IsShuttingDown() const
Bool_t MatchId(Int_t id) const
void SetRemoteId(Int_t id)
const char * GetUrl() const
Int_t GetRemoteId() const
void Print(Option_t *opt="") const
Dump the content to the screen.
Implementation of the PROOF session log handler.
The PROOF manager interacts with the PROOF server coordinator to create or destroy a PROOF session,...
static TProofMgr_t GetXProofMgrHook()
Get the constructor hook fro TXProofMgr.
virtual void ShowWorkers()
Show available workers.
static void ReplaceSubdirs(const char *fn, TString &fdst, TList &dirph)
Parse file name extracting the directory subcomponents in dirs, stored as TObjStrings.
virtual Int_t Reset(Bool_t hard=kFALSE, const char *usr=0)
Send a cleanup request for the sessions associated with the current user.
TProofMgr(const TProofMgr &)
virtual void ShutdownSession(TProof *p)
virtual void Grep(const char *, const char *=0, const char *=0)
virtual const char * GetMssUrl(Bool_t=kFALSE)
virtual TList * QuerySessions(Option_t *opt="S")
Get list of sessions accessible to this manager.
static TProofMgr * Create(const char *url, Int_t loglevel=-1, const char *alias=0, Bool_t xpd=kTRUE)
Static method returning the appropriate TProofMgr object using the plugin manager.
virtual ~TProofMgr()
Destroy a TProofMgr instance.
static TList * GetListOfManagers()
Extract pointers to PROOF managers from TROOT::fProofs.
virtual const char * GetUrl()
virtual Int_t SendMsgToUsers(const char *, const char *=0)
Send a message to connected users.
virtual Int_t Rm(const char *, const char *=0, const char *=0)
Run 'rm' on 'what'. Locally it is just a call to TSystem::Unlink .
TSignalHandler * fIntHandler
virtual void More(const char *, const char *=0, const char *=0)
virtual void Find(const char *="~/", const char *=0, const char *=0)
virtual TProofLog * GetSessionLogs(Int_t=0, const char *=0, const char *="-v \"| SvcMsg\"", Bool_t=kFALSE)
virtual TProof * CreateSession(const char *=0, const char *=0, Int_t=-1)
Create a new remote session (master and associated workers).
virtual Int_t GetRemoteProtocol() const
virtual Int_t SetROOTVersion(const char *)
virtual void Ls(const char *="~/", const char *=0, const char *=0)
static Int_t Ping(const char *url, Bool_t checkxrd=kFALSE)
Non-blocking check for a PROOF (or Xrootd, if checkxrd) service at 'url' Return 0 if a XProofd (or Xr...
virtual Bool_t IsValid() const
static TList fgListOfManagers
TProofMgr & operator=(const TProofMgr &)
virtual Int_t Md5sum(const char *, TString &, const char *=0)
virtual TObjString * ReadBuffer(const char *, Long64_t, Int_t)
static void SetTXProofMgrHook(TProofMgr_t pmh)
Set hook to TXProofMgr ctor.
virtual void DetachSession(Int_t, Option_t *="")
Detach session with 'id' from its proofserv.
virtual TObjString * ReadBuffer(const char *, const char *)
virtual void SetAlias(const char *alias="")
virtual Int_t GetFile(const char *, const char *, const char *=0)
virtual TProof * AttachSession(Int_t, Bool_t=kFALSE)
Dummy version provided for completeness.
virtual Int_t PutFile(const char *, const char *, const char *=0)
virtual void SetMssUrl(const char *mss)
virtual Bool_t IsProofd() const
virtual void ShutdownSession(Int_t id)
virtual void Tail(const char *, const char *=0, const char *=0)
virtual TProofDesc * GetProofDesc(Int_t id)
Get TProofDesc instance corresponding to 'id'.
virtual void SetInvalid()
virtual Int_t Stat(const char *, FileStat_t &, const char *=0)
virtual void ShowROOTVersions()
virtual Bool_t IsLite() const
static TProofMgr_t fgTXProofMgrHook
virtual Bool_t MatchUrl(const char *url)
Checks if 'url' refers to the same 'user@host:port' entity as the URL in memory.
virtual void DiscardSession(TProof *p)
Discard TProofDesc of session 'p' from the internal list.
virtual Int_t Cp(const char *, const char *=0, const char *=0)
static TFileCollection * UploadFiles(TList *src, const char *mss, const char *dest=0)
Upload files provided via the list 'src' (as TFileInfo or TObjString) to 'mss'.
This class controls a Parallel ROOT Facility, PROOF, cluster.
const char * Data() const
This class represents a WWW compatible URL.
const char * GetUrl(Bool_t withDeflt=kFALSE) const
Return full URL.
#define dest(otri, vertexptr)