private void closeServer() {
   try {
     server.close();
   } catch (IOException e) {
     LOG.log(Level.WARNING, "Unable to close FitClient socket server", e);
   }
 }
Esempio n. 2
0
 public void stop() throws Exception {
   if (theService != null) {
     theService.close();
     theService = null;
   }
 }