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 TGO4STARTCLIENTSTATUS_H 00017 #define TGO4STARTCLIENTSTATUS_H 00018 00019 #include "Go4StatusBase/TGo4Status.h" 00020 //#include "Go4CommandsBase/TGo4Command.h" 00021 #include "TString.h" 00022 00028 class TGo4StartClientStatus : public TGo4Status { 00029 public: 00030 00036 TGo4StartClientStatus(const char* name, const char* title); 00037 virtual ~TGo4StartClientStatus(); 00038 00039 const char* GetSlaveName() const { return fcSlaveName.Data(); } 00040 void SetSlaveName(const char* Name) { fcSlaveName = Name; } 00041 00042 const char* GetSlaveDir() const { return fcSlaveDir.Data(); } 00043 void SetSlaveDir(const char* Dir) { fcSlaveDir = Dir; } 00044 00045 const char* GetSlaveExec() const { return fcSlaveExec.Data(); } 00046 void SetSlaveExec(const char* Prog) { fcSlaveExec=Prog; } 00047 00048 const char* GetSlaveNode() const { return fcSlaveNode.Data(); } 00049 void SetSlaveNode(const char* node) { fcSlaveNode = node; } 00050 00051 Int_t GetSlaveMode() const { return fiSlaveMode; } 00052 void SetSlaveMode(Int_t Mode) { fiSlaveMode = Mode; } 00053 00054 Int_t GetSlaveShell() const { return fiSlaveShell; } 00055 void SetSlaveShell(Int_t Shell) { fiSlaveShell = Shell; } 00056 00057 UInt_t GetServerPort() const { return fuServerPort; } 00058 void SetServerPort(UInt_t port) { fuServerPort = port; } 00059 00060 Bool_t IsStartServer() const { return fbStartServer; } 00061 void SetStartServer(Bool_t on) { fbStartServer = on; } 00062 00063 const char* GetPasswd() const { return fcPasswd.Data(); } 00064 void SetPasswd(const char* txt) { fcPasswd = txt; } 00065 00066 Int_t GetLoginMode() const { return fiLogin; } 00067 void SetLoginMode(Int_t mode) { fiLogin = mode; } 00068 00069 private: 00070 TString fcSlaveNode; 00071 TString fcSlaveName; 00072 TString fcSlaveDir; 00073 TString fcSlaveExec; 00074 UInt_t fuServerPort; 00075 Bool_t fbStartServer; 00076 00080 Int_t fiSlaveMode; 00081 00084 Int_t fiSlaveShell; 00085 00087 Int_t fiLogin; 00088 00090 TString fcPasswd; 00091 00092 }; 00093 00094 #endif //TGO4STARTCLIENTSTATUS_H 00095 00096 //----------------------------END OF GO4 SOURCE FILE ---------------------