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 ClassDefOverride(name, id)
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t type
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.
const char * GetName() const override
Returns name of object.
virtual void SetAlias(const char *alias)
Set an alias for this session.
const char * GetWorkDir() const
Int_t GetSlaveType() const
TProof * GetProof() const
Float_t GetRealTime() const
Int_t GetParallel() const
Bool_t IsSortable() const override
static TSlave_t fgTXSlaveHook
const char * GetImage() const
void SetArchCompiler(const char *ac)
void operator=(const TSlave &)
Int_t Compare(const TObject *obj) const override
Used to sort slaves by performance index.
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.
void Print(Option_t *option="") const override
Printf info about slave.
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)
~TSlave() override
Destroy slave.
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
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.