Interface SocketIOAckListener

    • Method Detail

      • getCallbackTimeout

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

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

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