151152153154155156157158
} @Override public void onClose(int closeCode, String message) { broadcastMessage(new ClosedMessage(getApplication(), getSessionId(), pageId)); connectionRegistry.removeConnection(getApplication(), getSessionId(), pageId); }
74757677787980818283
onConnect(message); } else if (wsPayload instanceof WebSocketClosedPayload) { WebSocketClosedPayload connectedPayload = (WebSocketClosedPayload) wsPayload; ClosedMessage message = connectedPayload.getMessage(); onClose(message); } } }
111112113114115116117118
} @Override public void onClose(int closeCode, String message) { broadcastMessage(new ClosedMessage(getApplication(), getSessionId(), pageId)); connectionRegistry.removeConnection(application, sessionId, pageId); }
73747576777879808182
555657585960616263
onConnect(message); } else if (payload instanceof WebSocketClosedPayload) { WebSocketClosedPayload connectedPayload = (WebSocketClosedPayload) payload; ClosedMessage message = connectedPayload.getMessage(); onClose(message); } }
70717273747576777879