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