Class USDKListener

  • All Implemented Interfaces:
    org.asynchttpclient.ws.WebSocketListener

    public class USDKListener
    extends AbstractSDKListener
    implements org.asynchttpclient.ws.WebSocketListener
    Universal server socket listener
    • Method Detail

      • onOpen

        public void onOpen​(org.asynchttpclient.ws.WebSocket webSocket)
        Specified by:
        onOpen in interface org.asynchttpclient.ws.WebSocketListener
      • onClose

        public void onClose​(org.asynchttpclient.ws.WebSocket webSocket,
                            int i,
                            String s)
        Specified by:
        onClose in interface org.asynchttpclient.ws.WebSocketListener
      • onError

        public void onError​(Throwable throwable)
        Specified by:
        onError in interface org.asynchttpclient.ws.WebSocketListener
      • onTextFrame

        public void onTextFrame​(String payload,
                                boolean finalFragment,
                                int rsv)
        Specified by:
        onTextFrame in interface org.asynchttpclient.ws.WebSocketListener