Interface WebSocketPingPongListener

All Superinterfaces:
WebSocketConnectionListener

public interface WebSocketPingPongListener extends WebSocketConnectionListener
WebSocket PING/PONG Listener interface for incoming WebSocket PING/PONG frames.
  • Method Details

    • onWebSocketPing

      default void onWebSocketPing(ByteBuffer payload)
      A WebSocket PING has been received.
      Parameters:
      payload - the ping payload
    • onWebSocketPong

      default void onWebSocketPong(ByteBuffer payload)
      A WebSocket PONG has been received.
      Parameters:
      payload - the pong payload