Class Defaults


  • public class Defaults
    extends java.lang.Object
    • Field Detail

      • ABLY_VERSION

        public static final java.lang.String ABLY_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.
      • ABLY_AGENT_VERSION

        public static final java.lang.String ABLY_AGENT_VERSION
      • ABLY_VERSION_PARAM

        public static final java.lang.String ABLY_VERSION_PARAM
        See Also:
        Constant Field Values
      • ABLY_AGENT_PARAM

        public static final java.lang.String ABLY_AGENT_PARAM
        See Also:
        Constant Field Values
      • ABLY_VERSION_HEADER

        public static final java.lang.String ABLY_VERSION_HEADER
        See Also:
        Constant Field Values
      • ABLY_AGENT_HEADER

        public static final java.lang.String ABLY_AGENT_HEADER
        See Also:
        Constant Field Values
      • HOST_FALLBACKS

        public static final java.lang.String[] HOST_FALLBACKS
      • 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
      • HTTP_ASYNC_THREADPOOL_SIZE

        public static final int HTTP_ASYNC_THREADPOOL_SIZE
        See Also:
        Constant Field Values
    • Constructor Detail

      • Defaults

        public Defaults()
    • Method Detail

      • getEnvironmentFallbackHosts

        public static java.lang.String[] getEnvironmentFallbackHosts​(java.lang.String environment)