Package com.tccc.kos.commons.web.client
Interface WebsocketClientListener
- All Superinterfaces:
WebsocketConnectionListener
Interface to receive websocket connection events.
- Since:
- 1.0
- Version:
- 2022-08-30
-
Method Summary
Modifier and TypeMethodDescriptionvoidonFailedConnect(WebsocketClient client) Called when a client stops due to connection failures.Methods inherited from interface com.tccc.kos.commons.web.websocket.WebsocketConnectionListener
onConnect, onDisconnect, onError
-
Method Details
-
onFailedConnect
Called when a client stops due to connection failures. This can either be a failed connect with retries disabled, or more than maxRetries failed connect attempts.- Parameters:
client- the client- Throws:
Exception
-