public class WSPingListener
extends java.lang.Object
implements org.asynchttpclient.ws.WebSocketListener
| Constructor and Description |
|---|
WSPingListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
onClose(org.asynchttpclient.ws.WebSocket websocket) |
void |
onClose(org.asynchttpclient.ws.WebSocket websocket,
int code,
java.lang.String reason) |
void |
onError(java.lang.Throwable t) |
void |
onOpen(org.asynchttpclient.ws.WebSocket websocket) |
void |
onPingFrame(byte[] payload) |
public void onOpen(org.asynchttpclient.ws.WebSocket websocket)
onOpen in interface org.asynchttpclient.ws.WebSocketListenerpublic void onClose(org.asynchttpclient.ws.WebSocket websocket)
public void onClose(org.asynchttpclient.ws.WebSocket websocket,
int code,
java.lang.String reason)
onClose in interface org.asynchttpclient.ws.WebSocketListenerpublic void onError(java.lang.Throwable t)
onError in interface org.asynchttpclient.ws.WebSocketListenerpublic void onPingFrame(byte[] payload)
onPingFrame in interface org.asynchttpclient.ws.WebSocketListener