src/main/java/hu/trigary/simplenetty/server/Server.java
/**
	 * Stops the server synchronously, freeing up all resources.
	 *
	 * @throws InterruptedException if the thread gets interrupted while the {@link EventLoopGroup}s are being shut down
	 */
Stops the server synchronously, freeing up all resources.
@throws InterruptedException if the thread gets interrupted while the  EventLoopGroups are being shut down
Stops the server synchronously freeing up all resources . @throws InterruptedException if the thread gets interrupted while the EventLoopGroups are being shut down
public void stop() throws InterruptedException {
		synchronized (clients) {
			clients.clear();
		}
		bossGroup.shutdownGracefully().sync();
		workerGroup.shutdownGracefully().sync();
	}
public void stop ( ) throws InterruptedException { synchronized ( clients ) { clients . clear ( ) ; } bossGroup . shutdownGracefully ( ) . sync ( ) ; workerGroup . shutdownGracefully ( ) . sync ( ) ; }
Stops the server synchronously, freeing up all resources.
Stops the server synchronously freeing up all resources .