List of usage examples for com.google.gwt.websocket.client WebSocket CLOSING
int CLOSING
To view the source code for com.google.gwt.websocket.client WebSocket CLOSING.
Click Source Link
From source file:org.rest.client.activity.SocketActivity.java
License:Apache License
@Override public void disconnect() { if (socket == null) return;/*from w w w . j ava2 s . com*/ view.setConnectionStatus(WebSocket.CLOSING); socket.close(); socket = null; }