/** Invokes stop event to all listeners. */ public void invokeStop() { for (ServerListener sl : serverListeners) { sl.onServerStop(this); } }