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 TGO4EXAMPLESERVER_H 00017 #define TGO4EXAMPLESERVER_H 00018 00019 #include "Go4TaskHandler/TGo4ServerTask.h" 00020 00021 #include "TGo4ExampleController.h" 00022 00027 class TGo4ExampleServer : public TGo4ServerTask { 00028 00029 public: 00030 00031 TGo4ExampleServer(const char* name, 00032 UInt_t negotiationport=0, 00033 Bool_t blockingmode=kFALSE); 00034 00035 virtual ~TGo4ExampleServer(); 00036 00037 TGo4ExampleController* GetController(); 00038 00039 TGo4TaskHandlerCommandList* CreateCommandList(); 00040 00041 virtual Int_t StartWorkThreads(); 00042 00043 virtual Int_t StopWorkThreads(); 00044 00046 static const Text_t fgcCONTROLTHREAD[]; 00047 00049 static const Text_t fgcLOGGINGTHREAD[]; 00050 00051 private: 00052 00053 TGo4ExampleServer(); 00054 00058 TGo4ExampleController * fxController; 00059 00061 Text_t* fcControlName; 00062 00064 Text_t* fcLoggingName; 00065 00066 ClassDef(TGo4ExampleServer,1) 00067 }; 00068 00069 #endif //TGO4EXAMPLESERVER_H 00070 00071 //----------------------------END OF GO4 SOURCE FILE ---------------------