42 typedef TSlave *(*TSlave_t)(
const char *url,
const char *ord,
Int_t perf,
44 const char *workdir,
const char *msd,
Int_t nwk);
66 TSlave(
const char *host,
const char *ord,
Int_t perf,
68 const char *workdir,
const char *msd,
Int_t = 1);
76 const char *workdir,
const char *msd,
Int_t nwk = 1);
111 virtual void SetAlias(
const char *alias);
Int_t GetSlaveType() const
This class starts a PROOF session on the local machine: no daemons, client and master merged...
void SetSessionTag(const char *st)
virtual Int_t SendGroupPriority(const char *, Int_t)
virtual void FlushSocket()
Collectable string class.
Int_t GetParallel() const
virtual TObjString * SendCoordinator(Int_t kind, const char *msg=0, Int_t int2=0)
Send message to intermediate coordinator.
Float_t GetCpuTime() const
void SetROOTVersion(const char *rv)
const char * GetROOTVersion() const
const char * GetMsd() const
void SetArchCompiler(const char *ac)
void SetSocket(TSocket *s)
virtual void StopProcess(Bool_t abort, Int_t timeout)
Sent stop/abort request to PROOF server.
const char * GetOrdinal() const
virtual void Print(Option_t *option="") const
Printf info about slave.
virtual void SetInterruptHandler(Bool_t)
Version of TSlave for local worker servers.
TFileHandler * GetInputHandler() const
const char * GetName() const
Returns name of object.
This is the version of TSlave for workers servers based on XProofD.
Int_t GetProtocol() const
static TSlave_t fgTXSlaveHook
const char * GetImage() const
virtual ~TSlave()
Destroy slave.
virtual Bool_t IsValid() const
#define ClassDef(name, id)
Int_t(* OldSlaveAuthSetup_t)(TSocket *, Bool_t, TString, TString)
TSocket * GetSocket() const
static void SetTXSlaveHook(TSlave_t xslavehook)
Set hook to TXSlave ctor.
const char * GetProofWorkDir() const
virtual void Interrupt(Int_t type)
Send interrupt OOB byte to master or slave servers.
virtual void Close(Option_t *opt="")
Close slave socket.
virtual void SetStatus(Int_t st)
const char * GetSessionTag() const
TSlave()
Default constructor used by derived classes.
virtual Int_t Ping()
Ping the remote master or slave servers.
const char * GetGroup() const
Float_t GetRealTime() const
static TSlave * Create(const char *url, const char *ord, Int_t perf, const char *image, TProof *proof, Int_t stype, const char *workdir, const char *msd, Int_t nwk=1)
Static method returning the appropriate TSlave object for the remote server.
virtual void SetAlias(const char *alias)
Set an alias for this session.
This class controls a Parallel ROOT Facility, PROOF, cluster.
void Init(const char *host, Int_t port, Int_t stype)
Init a PROOF slave object.
Bool_t IsSortable() const
const char * GetWorkDir() const
Mother of all ROOT objects.
const char * GetArchCompiler() const
TSlave *(* TSlave_t)(const char *url, const char *ord, Int_t perf, const char *image, TProof *proof, Int_t stype, const char *workdir, const char *msd, Int_t nwk)
void operator=(const TSlave &)
const char * GetUser() const
Int_t OldAuthSetup(Bool_t master, TString wconf)
Setup authentication related stuff for old versions.
Class describing a PROOF worker server.
Long64_t GetBytesRead() const
virtual Int_t SetupServ(Int_t stype, const char *conffile)
Init a PROOF slave object.
Int_t Compare(const TObject *obj) const
Used to sort slaves by performance index.
TProof * GetProof() const
void SetInputHandler(TFileHandler *ih)
Adopt and register input handler for this slave.