private void sendResultToServer(Scenario scenario) throws RemoteException {
   try {
     server.setResults(scenario, InetAddress.getLocalHost().getHostAddress());
   } catch (UnknownHostException e) {
     logger.severe("Reading the local host address failed");
   }
 }
 private void notifyServerInitDone() {
   try {
     InetAddress addr = InetAddress.getLocalHost();
     server.setReady(addr.getHostAddress());
     logger.info("Client has successfully notified server about his ready status");
   } catch (UnknownHostException e) {
     logger.severe("Could not read local IP address");
   } catch (RemoteException e) {
     logger.severe("SetReady on server failed");
   }
 }