Examples of wasAbnormalClose()


Examples of org.eclipse.jetty.websocket.common.io.IOState.wasAbnormalClose()

                break;
            case CLOSED:
                IOState ioState = this.connection.getIOState();
                // The session only cares about abnormal close, as we need to notify
                // the endpoint of this close scenario.
                if (ioState.wasAbnormalClose())
                {
                    CloseInfo close = ioState.getCloseInfo();
                    LOG.debug("Detected abnormal close: {}", close);
                    // notify local endpoint
                    notifyClose(close.getStatusCode(), close.getReason());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.