Package com.applitools.eyes.universal
Class USDKListener
- java.lang.Object
-
- com.applitools.eyes.universal.AbstractSDKListener
-
- com.applitools.eyes.universal.USDKListener
-
- All Implemented Interfaces:
org.asynchttpclient.ws.WebSocketListener
public class USDKListener extends AbstractSDKListener implements org.asynchttpclient.ws.WebSocketListener
Universal server socket listener
-
-
Field Summary
-
Fields inherited from class com.applitools.eyes.universal.AbstractSDKListener
logger, map, objectMapper, typeReferences, webSocket
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static USDKListenergetInstance()RefergetRefer()voidonClose(org.asynchttpclient.ws.WebSocket webSocket, int i, String s)voidonError(Throwable throwable)voidonOpen(org.asynchttpclient.ws.WebSocket webSocket)voidonTextFrame(String payload, boolean finalFragment, int rsv)-
Methods inherited from class com.applitools.eyes.universal.AbstractSDKListener
handleResponse, setWebSocket
-
-
-
-
Method Detail
-
getInstance
public static USDKListener getInstance()
-
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, int i, String s)- Specified by:
onClosein interfaceorg.asynchttpclient.ws.WebSocketListener
-
onError
public void onError(Throwable throwable)
- Specified by:
onErrorin interfaceorg.asynchttpclient.ws.WebSocketListener
-
onTextFrame
public void onTextFrame(String payload, boolean finalFragment, int rsv)
- Specified by:
onTextFramein interfaceorg.asynchttpclient.ws.WebSocketListener
-
getRefer
public Refer getRefer()
- Specified by:
getReferin classAbstractSDKListener
-
-