Interface WebSocketPingPongListener

    • Method Detail

      • onPong

        void onPong​(WebSocket webSocket,
                    byte[] payload,
                    int offset,
                    int length)
        Handle WebSocket PONG
        Parameters:
        webSocket - WebSocket
        payload - the received bytes
        offset - the offset
        length - the length
      • onPing

        void onPing​(WebSocket webSocket,
                    byte[] payload,
                    int offset,
                    int length)
        Handle WebSocket PING
        Parameters:
        webSocket - WebSocket
        payload - the received bytes
        offset - the offset
        length - the length