TLM.h

Go to the documentation of this file.
00001 // @(#)root/clarens:$Id: TLM.h 20882 2007-11-19 11:31:26Z rdm $
00002 // Author: Maarten Ballintijn    21/10/2004
00003 // Author: Kris Gulbrandsen      21/10/2004
00004 
00005 /*************************************************************************
00006  * Copyright (C) 1995-2005, Rene Brun and Fons Rademakers.               *
00007  * All rights reserved.                                                  *
00008  *                                                                       *
00009  * For the licensing terms see $ROOTSYS/LICENSE.                         *
00010  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
00011  *************************************************************************/
00012 
00013 #ifndef ROOT_TLM
00014 #define ROOT_TLM
00015 
00016 //////////////////////////////////////////////////////////////////////////
00017 //                                                                      //
00018 // TLM                                                                  //
00019 //                                                                      //
00020 //                                                                      //
00021 //////////////////////////////////////////////////////////////////////////
00022 
00023 #ifndef ROOT_TObject
00024 #include "TObject.h"
00025 #endif
00026 
00027 #ifndef ROOT_TClProxy
00028 #include "TClProxy.h"
00029 #endif
00030 
00031 #ifndef ROOT_TString
00032 #include "TString.h"
00033 #endif
00034 
00035 
00036 class TList;
00037 class TXmlRpc;
00038 
00039 
00040 class TLM : public TClProxy {
00041 public:
00042    TLM(TXmlRpc *rpc);
00043    virtual ~TLM() { }
00044 
00045    Bool_t   GetVersion(TString &version);
00046    Bool_t   StartSession(const Char_t *sessionid, TList *&config, Int_t &hbf);
00047    Bool_t   DataReady(const Char_t *sessionid, Long64_t &bytesready,
00048                       Long64_t &totalbytes);
00049    Bool_t   Heartbeat(const Char_t *sessionid);
00050    Bool_t   EndSession(const Char_t *sessionid);
00051 
00052    struct TSlaveParams : public TObject {
00053       TString  fNode;
00054       Int_t    fPerfidx;
00055       TString  fImg;
00056       TString  fAuth;
00057       TString  fAccount;
00058       TString  fType;
00059 
00060       void     Print(Option_t *option="") const;
00061 
00062       ClassDef(TLM::TSlaveParams, 0);  // PEAC Slave config
00063    };
00064 
00065    ClassDef(TLM,0);  // PEAC Local Manager proxy
00066 };
00067 
00068 #endif

Generated on Tue Jul 5 14:26:59 2011 for ROOT_528-00b_version by  doxygen 1.5.1