Class WSPingListener
- java.lang.Object
-
- com.vk.api.sdk.streaming.clients.websocket.WSPingListener
-
- All Implemented Interfaces:
org.asynchttpclient.ws.WebSocketListener
public class WSPingListener extends java.lang.Object implements org.asynchttpclient.ws.WebSocketListenerListener for ping messages
-
-
Constructor Summary
Constructors Constructor Description WSPingListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonClose(org.asynchttpclient.ws.WebSocket websocket)voidonClose(org.asynchttpclient.ws.WebSocket websocket, int code, java.lang.String reason)voidonError(java.lang.Throwable t)voidonOpen(org.asynchttpclient.ws.WebSocket websocket)voidonPingFrame(byte[] payload)
-
-
-
Method Detail
-
onOpen
public void onOpen(org.asynchttpclient.ws.WebSocket websocket)
- Specified by:
onOpenin interfaceorg.asynchttpclient.ws.WebSocketListener
-
onClose
public void onClose(org.asynchttpclient.ws.WebSocket websocket)
-
onClose
public void onClose(org.asynchttpclient.ws.WebSocket websocket, int code, java.lang.String reason)- Specified by:
onClosein interfaceorg.asynchttpclient.ws.WebSocketListener
-
onError
public void onError(java.lang.Throwable t)
- Specified by:
onErrorin interfaceorg.asynchttpclient.ws.WebSocketListener
-
onPingFrame
public void onPingFrame(byte[] payload)
- Specified by:
onPingFramein interfaceorg.asynchttpclient.ws.WebSocketListener
-
-