Interface IWebSocketPingResult


  • public interface IWebSocketPingResult
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void onResult​(IWebSocketSession webSocketSession, long pingTime, long pingId, boolean result)
      Triggered when WebSocket pong is received or pong is not received within ping timeout
    • Method Detail

      • onResult

        void onResult​(IWebSocketSession webSocketSession,
                      long pingTime,
                      long pingId,
                      boolean result)
        Triggered when WebSocket pong is received or pong is not received within ping timeout
        Parameters:
        webSocketSession - WebSocket session
        pingTime - elapsed time for ping response
        pingId - ping ID
        result - true, if pong received, false if timeout