Package io.ably.lib.transport
Class Defaults
java.lang.Object
io.ably.lib.transport.Defaults
- 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringThe level of compatibility with the Ably service that this SDK supports.static final Stringstatic final Stringstatic longstatic longstatic final String[]static final Stringstatic final Stringstatic final intstatic final intstatic intstatic longstatic intstatic final intstatic longstatic longstatic intstatic intstatic intstatic intstatic intstatic final intstatic final ITransport.Factory - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic String[]getEnvironmentFallbackHosts(String environment) static intgetPort(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 - 
maxMessageSize
public static int maxMessageSize - 
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
 
 -