Class ReconnectAttemptEvent

    • Method Detail

      • getAttempt

        public int getAttempt()
        Returns the reconnect attempt counter for the connection. Zero-based counter, 0 represents the first attempt. The counter is reset upon successful reconnect.
        Returns:
        the reconnect attempt counter for the connection. Zero-based counter, 0 represents the first attempt.