00001 //------------------------------------------------------------- 00002 // Go4 Release Package v3.04-01 (build 30401) 00003 // 28-November-2008 00004 //--------------------------------------------------------------- 00005 // The GSI Online Offline Object Oriented (Go4) Project 00006 // Experiment Data Processing at EE department, GSI 00007 //--------------------------------------------------------------- 00008 // 00009 //Copyright (C) 2000- Gesellschaft f. Schwerionenforschung, GSI 00010 // Planckstr. 1, 64291 Darmstadt, Germany 00011 //Contact: http://go4.gsi.de 00012 //---------------------------------------------------------------- 00013 //This software can be used under the license agreements as stated 00014 //in Go4License.txt file which is part of the distribution. 00015 //---------------------------------------------------------------- 00016 #ifndef TGO4REVSERV_H 00017 #define TGO4REVSERV_H 00018 00019 #include "TGo4MbsSource.h" 00020 00021 class TGo4RevServParameter; 00022 00029 class TGo4RevServ : public TGo4MbsSource { 00030 public: 00031 00032 TGo4RevServ(const char* name); 00033 00034 TGo4RevServ(); 00035 00036 TGo4RevServ(TGo4RevServParameter* par); 00037 00038 ~TGo4RevServ(); 00039 00041 virtual Int_t Open(); 00042 00043 void SetPort(Int_t port) { fiPort=port; } 00044 00046 static const Int_t fgiDEFAULTPORT; 00047 00048 private: 00050 Int_t fiPort; 00051 00052 ClassDef(TGo4RevServ,2) 00053 }; 00054 00055 #endif //TGO4REVSERV_H 00056 00057 //----------------------------END OF GO4 SOURCE FILE ---------------------