/** * Stop grizzly server. * @throws java.lang.Exception */ public void stop() throws Exception { // stop the grizzly thread selector instance //threadSelector.stopEndpoint(); ws.stop(); }
@Override public void stop() { if (this.gws != null) { this.gws.stop(); } Logger.info(this, "stopped on port #%s", this.port); this.port = 0; }