Interface SocketIOAckListener

    • Method Detail

      • getCallbackTimeout

        long getCallbackTimeout()
        Allows the listener to specify a time for the callback timeout.
        Returns:
        the timeout or 0 to use the default timeout.
      • onAck

        void onAck​(@Nonnull
                   JSONArray data)
        Called when the ack is received.
        Parameters:
        data - the data
      • onTimeout

        void onTimeout()
        Called when waiting for the ack response timed out.