00001 //--------------------------------------------------------------- 00002 // Go4 Release Package v2.10-5 (build 21005) 00003 // 03-Nov-2005 00004 //--------------------------------------------------------------- 00005 // The GSI Online Offline Object Oriented (Go4) Project 00006 // Experiment Data Processing at DVEE 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 "Go4EventServer/TGo4MbsSource.h" 00020 #include "Go4EventServer/TGo4RevServParameter.h" 00021 00028 class TGo4RevServ : public TGo4MbsSource { 00029 public: 00030 00031 TGo4RevServ(const char* name); 00032 00033 TGo4RevServ(); 00034 00035 TGo4RevServ(TGo4RevServParameter* par); 00036 00037 ~TGo4RevServ(); 00038 00040 virtual Int_t Open(); 00041 00042 void SetPort(Int_t port) { fiPort=port; } 00043 00045 static const Int_t fgiDEFAULTPORT; 00046 00047 private: 00049 Int_t fiPort; 00050 00051 ClassDef(TGo4RevServ,2) 00052 }; 00053 00054 #endif //TGO4REVSERV_H 00055 00056 //----------------------------END OF GO4 SOURCE FILE ---------------------