コード例 #1
0
  /** @see gr.ntua.vision.monitoring.service.Service#halt() */
  @Override
  public void halt() {
    log.debug("halting subsystems");
    timer.cancel();
    sources.halt();
    engine.halt();

    try {
      httpServer.stop();
    } catch (final Exception e) {
      log.warn("stopping http server", e);
    }
  }
コード例 #2
0
 /** @throws Exception */
 @After
 public void tearDown() throws Exception {
   if (server != null) server.stop();
 }