Interface INetConnectionPingResult

  • public interface INetConnectionPingResult

    INetConnectionPingResult: callback interface used by INetConnection ping.

    • Method Detail

      • onResult

        void onResult​(INetConnection netConnection,
                      long pingTime,
                      int pingId,
                      boolean result)
        Triggered on server to server result from call to This method will be called on a success or failure (ping timeout) of a ping.
        netConnection - net connection
        pingTime - time in server time (milliseconds) when the ping was initiated
        pingId - internal server id for the ping request
        result - true is ping was successful false if failure (timeout)