/** * Shut things down gracefully. */ public synchronized void stop() { if (log.isInfoEnabled()) log.info("SMTP server {} stopping", getDisplayableLocalSocketAddress()); if (this.serverThread == null) return; this.serverThread.shutdown(); this.serverThread = null; }
/** * Shut things down gracefully. */ public synchronized void stop() { log.info("SMTP server {} stopping...", getDisplayableLocalSocketAddress()); if (this.serverThread == null) return; this.serverThread.shutdown(); this.serverThread = null; log.info("SMTP server {} stopped", getDisplayableLocalSocketAddress()); }