Class AsyncWebSocketListener

java.lang.Object
io.webfolder.cdp.channel.AsyncWebSocketListener
All Implemented Interfaces:
org.asynchttpclient.ws.WebSocketListener

public class AsyncWebSocketListener
extends java.lang.Object
implements org.asynchttpclient.ws.WebSocketListener
  • Constructor Summary

    Constructors 
    Constructor Description
    AsyncWebSocketListener​(SessionFactory factory, MessageHandler handler)  
  • Method Summary

    Modifier and Type Method Description
    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 onTextFrame​(java.lang.String payload, boolean finalFragment, int rsv)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.asynchttpclient.ws.WebSocketListener

    onBinaryFrame, onPingFrame, onPongFrame
  • Constructor Details

  • Method Details

    • onTextFrame

      public void onTextFrame​(java.lang.String payload, boolean finalFragment, int rsv)
      Specified by:
      onTextFrame in interface org.asynchttpclient.ws.WebSocketListener
    • 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 code, java.lang.String reason)
      Specified by:
      onClose in interface org.asynchttpclient.ws.WebSocketListener
    • onError

      public void onError​(java.lang.Throwable t)
      Specified by:
      onError in interface org.asynchttpclient.ws.WebSocketListener