public interface WebSocketListener
WebSocketListener
for WebSocket events. Use the appropriate listener for receiving message bytes.Modifier and Type | Method and Description |
---|---|
void |
onClose(WebSocket websocket)
Invoked when the
WebSocket is close. |
void |
onError(Throwable t)
Invoked when the
WebSocket is open. |
void |
onOpen(WebSocket websocket)
Invoked when the
WebSocket is open. |
Copyright © 2015. All Rights Reserved.