@Test public void testStopWhenNotStarted() throws Exception { appender.stop(); assertEquals(0, runner.getStartCount()); }
@Override public void stop() { if (!isStarted()) return; try { runner.stop(); super.stop(); } catch (IOException ex) { addError("server shutdown error: " + ex, ex); } }
AbstractServerSocketAppender extends AppenderBase<E> { @Override public void stop() { if (!isStarted()) return; try { runner.stop(); super.stop(); } catch (IOException ex) { addError("server shutdown error: " + ex, ex); } } }
AbstractServerSocketAppender extends AppenderBase<E> { @Override public void stop() { if (!isStarted()) return; try { runner.stop(); super.stop(); } catch (IOException ex) { addError("server shutdown error: " + ex, ex); } }  }
AbstractServerSocketAppender extends AppenderBase<E> { @Override public void stop() { if (!isStarted()) return; try { runner.stop(); super.stop(); } catch (IOException ex) { addError("server shutdown error: " + ex, ex); } }  @Override void start(); @Override void stop(); int getPort(); void setPort(int port); int getBacklog(); void setBacklog(int backlog); String getAddress(); void setAddress(String address); int getClientQueueSize(); void setClientQueueSize(int clientQueueSize); }
AbstractServerSocketAppender extends AppenderBase<E> { @Override public void stop() { if (!isStarted()) return; try { runner.stop(); super.stop(); } catch (IOException ex) { addError("server shutdown error: " + ex, ex); } }  @Override void start(); @Override void stop(); int getPort(); void setPort(int port); int getBacklog(); void setBacklog(int backlog); String getAddress(); void setAddress(String address); int getClientQueueSize(); void setClientQueueSize(int clientQueueSize); static final int DEFAULT_BACKLOG; static final int DEFAULT_CLIENT_QUEUE_SIZE; }