Package io.ably.lib.transport
Class Defaults
java.lang.Object
io.ably.lib.transport.Defaults
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
The level of compatibility with the Ably service that this SDK supports.static final String
static final String
static long
static long
static final String[]
static final String
static final String
static final int
static final int
static int
static long
static final int
static long
static long
static int
static int
static int
static int
static int
static final int
static final ITransport.Factory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String[]
getEnvironmentFallbackHosts
(String environment) static int
getPort
(ClientOptions options)
-
Field Details
-
ABLY_PROTOCOL_VERSION
The level of compatibility with the Ably service that this SDK supports. Also referred to as the 'wire protocol version'. This value is presented as a string, as specified in G4a.spec: G4
- See Also:
-
ABLY_AGENT_VERSION
-
ABLY_PROTOCOL_VERSION_PARAM
- See Also:
-
ABLY_AGENT_PARAM
- See Also:
-
ABLY_PROTOCOL_VERSION_HEADER
- See Also:
-
ABLY_CLIENT_ID_HEADER
- See Also:
-
ABLY_AGENT_HEADER
- See Also:
-
HOST_FALLBACKS
-
HOST_REST
- See Also:
-
HOST_REALTIME
- See Also:
-
PORT
public static final int PORT- See Also:
-
TLS_PORT
public static final int TLS_PORT- See Also:
-
TIMEOUT_CONNECT
public static int TIMEOUT_CONNECT -
TIMEOUT_DISCONNECT
public static int TIMEOUT_DISCONNECT -
TIMEOUT_CHANNEL_RETRY
public static int TIMEOUT_CHANNEL_RETRY -
TIMEOUT_HTTP_OPEN
public static int TIMEOUT_HTTP_OPEN -
TIMEOUT_HTTP_REQUEST
public static int TIMEOUT_HTTP_REQUEST -
httpMaxRetryDuration
public static int httpMaxRetryDuration -
realtimeRequestTimeout
public static long realtimeRequestTimeout -
suspendedRetryTimeout
public static long suspendedRetryTimeout -
fallbackRetryTimeout
public static long fallbackRetryTimeout -
maxIdleInterval
public static long maxIdleInterval -
connectionStateTtl
public static long connectionStateTtl -
TRANSPORT
-
HTTP_MAX_RETRY_COUNT
public static final int HTTP_MAX_RETRY_COUNT- See Also:
-
HTTP_ASYNC_THREADPOOL_SIZE
public static final int HTTP_ASYNC_THREADPOOL_SIZE- See Also:
-
-
Constructor Details
-
Defaults
public Defaults()
-
-
Method Details
-
getPort
-
getEnvironmentFallbackHosts
-