public interface ReconnectionStrategy
ReconnectionManager.setReconnectionStrategy(ReconnectionStrategy)| Modifier and Type | Method and Description |
|---|---|
int |
getNextReconnectionAttempt(int attempt)
Gets the time (in seconds) until the next reconnection is attempted.
|
int getNextReconnectionAttempt(int attempt)
attempt - The current reconnection attempt. The first attempt is 0, the second attempt is 1, etc...Copyright © 2014 XMPP.rocks. All rights reserved.