31 #ifndef G4UIGainServer_h 
   32 #define G4UIGainServer_h 1 
   37 #include <sys/types.h> 
   38 #include <sys/socket.h> 
   40 #include <netinet/in.h> 
   49 #define SOCK_NAME "/tmp/socket" 
   50 #define DEFAULT_PORT 40000;  
   83   struct sockaddr_in saddr;
 
   84   struct sockaddr_in caddr;
 
   93   std::vector<G4String> previousTreeCommands;
 
   94   std::vector<G4String> newTreeCommands;
 
   95   std::vector<G4String> previousTreeParams;
 
   96   std::vector<G4String> newTreeParams;
 
   97   std::vector<G4UIcommand*> previousTreePCP;
 
   98   std::vector<G4UIcommand*> newTreePCP;
 
  131   virtual void ExecuteCommand(
const G4String& aCommand);
 
  133   virtual void ExitHelp() 
const;
 
  135   void WaitingConnection();
 
  136   void CloseConnection();
 
  156   void NotifyStateChange(
void);
 
  157   void NotifyCommandUpdate(
void);
 
  160   int CommandUpdated(
void);
 
  161   void UpdateState(
void);
 
  162   void UpdateParamVal(
void);  
 
virtual void PauseSessionStart(const G4String &msg)
 
virtual G4int ReceiveG4cerr(const G4String &cerrString)
 
virtual G4int ReceiveG4cout(const G4String &coutString)
 
G4UIsession * SessionStart()