void writeClosed(TransportListener lst) { writeClosed(lst, 3000, "Go away!"); }
@Override public void sessionClosed() { session.writeClosed(this); close(); } }
public void sessionClosed() { session.writeClosed(this); closed = true; // Asynchronously close the websocket to fix a bug in the SockJS TCK // due to the WebSocket client that skip some frames (bug) session.context().runOnContext(v -> ws.close()); }
if (closed) { writeClosed(lst); writeClosed(lst, 2010, "Another connection still open"); if (closed) { writeClosed(lst); listener = null; lst.close();
void writeClosed(TransportListener lst) { writeClosed(lst, 3000, "Go away!"); }
@Override public void sessionClosed() { session.writeClosed(this); close(); } }
public void sessionClosed() { session.writeClosed(this); closed = true; // Asynchronously close the websocket to fix a bug in the SockJS TCK // due to the WebSocket client that skip some frames (bug) session.context().runOnContext(v -> ws.close()); }
if (closed) { writeClosed(lst); writeClosed(lst, 2010, "Another connection still open"); if (closed) { writeClosed(lst); listener = null; lst.close();