public interface WebSocketReconnectHandler
Modifier and Type | Method and Description |
---|---|
long | disconnected(javax.websocket.CloseReason closeReason, URI connectionUri, javax.websocket.Session session, int disconnectCount) Method that is invoked by the reconnect handler after disconnection |
long | reconnectFailed(IOException exception, URI connectionUri, javax.websocket.Session session, int failedCount) Method that is invoked if the reconnection fails |
long disconnected(javax.websocket.CloseReason closeReason, URI connectionUri, javax.websocket.Session session, int disconnectCount)
closeReason
- The close reasonlong reconnectFailed(IOException exception, URI connectionUri, javax.websocket.Session session, int failedCount)
exception
- The failure exceptionCopyright © 2020 JBoss by Red Hat. All rights reserved.