library: libProofx #include "TXSlave.h" |
TXSlave
class description - source file - inheritance tree (.pdf)
class TXSlave : public TSlave, public TXHandler
private:
static Int_t GetProofdProtocol(TSocket* s)
void Init(const char* host, Int_t stype)
protected:
virtual void Interrupt(Int_t type)
virtual Int_t Ping()
virtual TObjString* SendCoordinator(Int_t kind, const char* msg = "0")
virtual void SetAlias(const char* alias)
void SetReady()
public:
TXSlave(const char* url, const char* ord, Int_t perf, const char* image, TProof* proof, Int_t stype, const char* workdir, const char* msd)
virtual ~TXSlave()
static TClass* Class()
virtual void Close(Option_t* opt = "")
virtual void DoError(int level, const char* location, const char* fmt, va_list va) const
virtual Bool_t HandleError()
virtual Bool_t HandleInput()
virtual TClass* IsA() const
virtual void SetupServ(Int_t stype, const char* conffile)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
TXSlave
This is the version of TSlave for slave servers based on XRD.
See TSlave for details.
void DoError(int level, const char *location, const char *fmt, va_list va) const
Interface to ErrorHandler (protected).
TXSlave(const char *url, const char *ord, Int_t perf,
const char *image, TProof *proof, Int_t stype,
const char *workdir, const char *msd) : TSlave()
Create a PROOF slave object. Called via the TProof ctor.
void Init(const char *host, Int_t stype)
Init a PROOF slave object. Called via the TXSlave ctor.
The Init method is technology specific and is overwritten by derived
classes.
void SetupServ(Int_t stype, const char *conffile)
Init a PROOF slave object. Called via the TXSlave ctor.
The Init method is technology specific and is overwritten by derived
classes.
~TXSlave()
Destroy slave.
void Close(Option_t *opt)
Close slave socket.
Int_t Ping()
Ping the remote master or slave servers.
Returns 0 if ok, -1 in case of error
void Interrupt(Int_t type)
Send interrupt to master or slave servers.
Returns 0 if ok, -1 in case of error
Int_t GetProofdProtocol(TSocket *s)
Find out the remote proofd protocol version.
Returns -1 in case of error
TObjString* SendCoordinator(Int_t kind, const char *msg)
Send message to intermediate coordinator.
If any output is due, this is returned as a generic message
void SetAlias(const char *alias)
Set an alias for this session. If reconnection is supported, the alias
will be communicated to the remote coordinator so that it can be recovered
when reconnecting
Bool_t HandleError()
Handle error on the input socket
Bool_t HandleInput()
Handle asynchronous input on the socket
Inline Functions
void SetReady()
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
Author: Gerardo Ganis 12/12/2005
Last update: root/proofx:$Name: $:$Id: TXSlave.cxx,v 1.6 2006/04/19 10:57:44 rdm Exp $
Copyright (C) 1995-2005, Rene Brun and Fons Rademakers. *
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.