src/main/java/zoot/tube/websocketserver/Server.java
/**
     * Safely shuts down this server.
     */
Safely shuts down this server.
Safely shuts down this server .
public void shutdown() {
        if (this.conn != null) {
            this.conn.close();
        }
        try {
            this.stop(500);
        } catch (InterruptedException e) {
            System.out.println("Failed to stop server.");
            e.printStackTrace();
        }
    }
public void shutdown ( ) { if ( this . conn != null ) { this . conn . close ( ) ; } try { this . stop ( 500 ) ; } catch ( InterruptedException e ) { System . out . println ( "Failed to stop server." ) ; e . printStackTrace ( ) ; } }
Safely shuts down this server.
Safely shuts down this server .