Interface IModulePingResult


  • public interface IModulePingResult

    IModulePingResult: callback interface used by IClient ping.

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void onResult​(IClient client, long pingTime, int pingId, boolean result)
      Triggered on client side result from call to IClient.ping.
    • Method Detail

      • onResult

        void onResult​(IClient client,
                      long pingTime,
                      int pingId,
                      boolean result)
        Triggered on client side result from call to IClient.ping. This method will be called on a success or failure (ping timeout) of a ping.
        Parameters:
        client - client
        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)