public class USDKListener extends AbstractSDKListener implements org.asynchttpclient.ws.WebSocketListener
logger, map, objectMapper, typeReferences, webSocket| Modifier and Type | Method and Description |
|---|---|
static USDKListener |
getInstance() |
Refer |
getRefer() |
void |
onClose(org.asynchttpclient.ws.WebSocket webSocket,
int i,
String s) |
void |
onError(Throwable throwable) |
void |
onOpen(org.asynchttpclient.ws.WebSocket webSocket) |
void |
onTextFrame(String payload,
boolean finalFragment,
int rsv) |
handleResponse, setWebSocketpublic static USDKListener getInstance()
public void onOpen(org.asynchttpclient.ws.WebSocket webSocket)
onOpen in interface org.asynchttpclient.ws.WebSocketListenerpublic void onClose(org.asynchttpclient.ws.WebSocket webSocket,
int i,
String s)
onClose in interface org.asynchttpclient.ws.WebSocketListenerpublic void onError(Throwable throwable)
onError in interface org.asynchttpclient.ws.WebSocketListenerpublic void onTextFrame(String payload, boolean finalFragment, int rsv)
onTextFrame in interface org.asynchttpclient.ws.WebSocketListenerpublic Refer getRefer()
getRefer in class AbstractSDKListenerCopyright © 2023. All rights reserved.