// $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 TGO4COMREMOVECLIENT_H #define TGO4COMREMOVECLIENT_H #include "TGo4TaskHandlerCommand.h" #include "TString.h" /** * server command: current client is removed (disconnected) from server */ class TGo4ComRemoveClient : public TGo4TaskHandlerCommand { public: TGo4ComRemoveClient(); /** Specify the name of the client to be removed */ void SetClient(const char *name); void SetWaitForClient(Bool_t wait=kTRUE); Int_t ExeCom() override; private: /** name of the client to be removed */ TString fxClientName; Bool_t fbWaitForClient{kFALSE}; ClassDefOverride(TGo4ComRemoveClient,1) }; #endif //TGO4COMREMOVECLIENT_H