private void closeConnection(Session session,
            GuacamoleStatus guacStatus) {

        closeConnection(session, guacStatus.getGuacamoleStatusCode(),
                guacStatus.getWebSocketCode());

    }
private void closeConnection ( Session session , GuacamoleStatus guacStatus ) { closeConnection ( session , guacStatus . getGuacamoleStatusCode ( ) , guacStatus . getWebSocketCode ( ) ) ; }
Sends the given status on the given WebSocket connection
and closes the connection.

@param session
The outbound WebSocket connection to close.

@param guacStatus
The status to send.