// $Id$ //----------------------------------------------------------------------- // The GSI Online Offline Object Oriented (Go4) Project // Experiment Data Processing at EE department, GSI //----------------------------------------------------------------------- // Copyright (C) 2000- GSI Helmholtzzentrum fuer Schwerionenforschung GmbH // Planckstr. 1, 64291 Darmstadt, Germany // Contact: http://go4.gsi.de //----------------------------------------------------------------------- // This software can be used under the license agreements as stated // in Go4License.txt file which is part of the distribution. //----------------------------------------------------------------------- #ifndef TGO4TASKCONNECTORTIMER_H #define TGO4TASKCONNECTORTIMER_H #include "TTimer.h" class TGo4ServerTask; /** * timer aggregated to the servertask which is responsible to * open and handle the negotiation requests of the clients * @ingroup go4_taskhandler */ class TGo4TaskConnectorTimer : public TTimer { public: TGo4TaskConnectorTimer(TGo4ServerTask *server, Long_t msperiod = 3000); virtual ~TGo4TaskConnectorTimer(); Bool_t Notify() override; protected: /** The servertask to which this timer belongs */ TGo4ServerTask *fxServer{nullptr}; //! private: TGo4TaskConnectorTimer(); }; #endif //TGO4TASKCONNECTORTIMER_H