Package org.eclipse.jetty.websocket.api

Examples of org.eclipse.jetty.websocket.api.CloseStatus


    private void closeConnection(Session session, GuacamoleStatus guac_status) {

        try {
            int code = guac_status.getWebSocketCode();
            String message = Integer.toString(guac_status.getGuacamoleStatusCode());
            session.close(new CloseStatus(code, message));
        }
        catch (IOException e) {
            logger.debug("Unable to close WebSocket connection.", e);
        }
View Full Code Here

TOP

Related Classes of org.eclipse.jetty.websocket.api.CloseStatus

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.