public class TransportUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
clientVersion |
static String |
javaDeviceClientIdentifier |
| Constructor and Description |
|---|
TransportUtils() |
| Modifier and Type | Method and Description |
|---|---|
static int |
generateSleepInterval(int currentAttempt)
Generates a reconnection time with an exponential backoff
and a maximum value of 60 seconds.
|
public static String javaDeviceClientIdentifier
public static String clientVersion
public static int generateSleepInterval(int currentAttempt)
currentAttempt - the number of attemptsCopyright © 2017. All rights reserved.