library: libProof
#include "TSlave.h"

TSlave


class description - source file - inheritance tree (.pdf)

class TSlave : public TObject

Inheritance Chart:
TObject
<-
TSlave
    private:
TSlave() TSlave(const TSlave& s) TSlave(const char* host, Int_t port, const char* ord, Int_t perf, const char* image, TProof* proof, TSlave::ESlaveType stype, const char* workdir, const char* conffile, const char* msd) void operator=(const TSlave&) public:
virtual ~TSlave() static TClass* Class() void Close(Option_t* opt) virtual Int_t Compare(const TObject* obj) const Long64_t GetBytesRead() const Float_t GetCpuTime() const const char* GetImage() const TFileHandler* GetInputHandler() const TString GetMsd() const virtual const char* GetName() const const char* GetOrdinal() const Int_t GetParallel() const Int_t GetPerfIdx() const Int_t GetPort() const TProof* GetProof() const const char* GetProofWorkDir() const Int_t GetProtocol() const Float_t GetRealTime() const Int_t GetSecurity() const TSlave::ESlaveType GetSlaveType() const TSocket* GetSocket() const Int_t GetStatus() const const char* GetUser() const const char* GetWorkDir() const virtual TClass* IsA() const virtual Bool_t IsSortable() const Bool_t IsValid() const virtual void Print(Option_t* option) const void SetInputHandler(TFileHandler* ih) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
TString fName slave's hostname TString fImage slave's image name TString fProofWorkDir base proofserv working directory (info obtained from slave) TString fWorkDir slave's working directory (info obtained from slave) TString fUser slave's user id Int_t fPort slave's port number TString fOrdinal slave's ordinal number Int_t fPerfIdx relative CPU performance index TSecContext* fSecContext security context of the related authentication Int_t fProtocol slave's protocol level TSocket* fSocket socket to slave TProof* fProof proof cluster to which slave belongs TFileHandler* fInput input handler related to this slave Long64_t fBytesRead bytes read by slave (info is obtained from slave) Float_t fRealTime real time spent executing commands (info obtained from slave) Float_t fCpuTime CPU time spent executing commands (info obtained from slave) TSlave::ESlaveType fSlaveType type of slave (either kMaster or kSlave) Int_t fStatus remote return status Int_t fParallel number of active slaves TString fMsd mass storage domain of slave public:
static const TSlave::ESlaveType kMaster static const TSlave::ESlaveType kSlave

Class Description

                                                                      
 TSlave                                                               
                                                                      
 This class describes a PROOF slave server.                           
 It contains information like the slaves host name, ordinal number,   
 performance index, socket, etc. Objects of this class can only be    
 created via TProof member functions.                                 
                                                                      


TSlave(const char *host, Int_t port, const char *ord, Int_t perf, const char *image, TProof *proof, ESlaveType stype, const char *workdir, const char *conffile, const char *msd)
 Create a PROOF slave object. Called via the TProof ctor.

~TSlave()
 Destroy slave.

void Close(Option_t *)
 Close slave socket.

Int_t Compare(const TObject *obj) const
 Used to sort slaves by performance index.

void Print(Option_t *) const
 Printf info about slave.

void SetInputHandler(TFileHandler *ih)
 Adopt and register input handler for this slave. Handler will be deleted
 by the slave.



Inline Functions


                    TSlave TSlave(const TSlave& s)
                      void operator=(const TSlave&)
                    TSlave TSlave(const char* host, Int_t port, const char* ord, Int_t perf, const char* image, TProof* proof, TSlave::ESlaveType stype, const char* workdir, const char* conffile, const char* msd)
                    Bool_t IsSortable() const
               const char* GetName() const
               const char* GetImage() const
               const char* GetProofWorkDir() const
               const char* GetWorkDir() const
               const char* GetUser() const
                     Int_t GetPort() const
               const char* GetOrdinal() const
                     Int_t GetPerfIdx() const
                     Int_t GetSecurity() const
                     Int_t GetProtocol() const
                  TSocket* GetSocket() const
                   TProof* GetProof() const
                  Long64_t GetBytesRead() const
                   Float_t GetRealTime() const
                   Float_t GetCpuTime() const
        TSlave::ESlaveType GetSlaveType() const
                     Int_t GetStatus() const
                     Int_t GetParallel() const
                   TString GetMsd() const
             TFileHandler* GetInputHandler() const
                    Bool_t IsValid() const
                   TClass* Class()
                   TClass* IsA() const
                      void ShowMembers(TMemberInspector& insp, char* parent)
                      void Streamer(TBuffer& b)
                      void StreamerNVirtual(TBuffer& b)


Author: Fons Rademakers 14/02/97
Last update: root/proof:$Name: $:$Id: TSlave.cxx,v 1.37 2005/02/18 14:27:33 rdm Exp $
Copyright (C) 1995-2000, 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.