Interface WebsocketFactory.StatusListener
- Enclosing class:
WebsocketFactory
public static interface WebsocketFactory.StatusListener
Is called on status changes.
- Author:
- Holger Eichelberger, SSE
-
Method Summary
-
Method Details
-
onConnect
void onConnect()When the connection is established. -
onClose
When the connection is closed.- Parameters:
reason- the closing reasonremote- whether it was the local or the remote side
-
onError
When an error occurred.- Parameters:
message- the error message
-