@DoNotImplement public interface MqttClientTransportConfig
MQTT clients.| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_MQTT_CONNECT_TIMEOUT_MS
The default timeout between sending the Connect and receiving the ConnAck message in milliseconds.
|
static int |
DEFAULT_SOCKET_CONNECT_TIMEOUT_MS
The default timeout for connecting the socket to the server in milliseconds.
|
| Modifier and Type | Method and Description |
|---|---|
static @NotNull MqttClientTransportConfigBuilder |
builder()
Creates a builder for a transport configuration.
|
@NotNull MqttClientTransportConfigBuilder |
extend()
Creates a builder for extending this transport configuration.
|
@NotNull Optional<InetSocketAddress> |
getLocalAddress() |
int |
getMqttConnectTimeoutMs() |
@NotNull Optional<MqttProxyConfig> |
getProxyConfig() |
@NotNull InetSocketAddress |
getServerAddress() |
int |
getSocketConnectTimeoutMs() |
@NotNull Optional<MqttClientSslConfig> |
getSslConfig() |
@NotNull Optional<MqttWebSocketConfig> |
getWebSocketConfig() |
static final int DEFAULT_SOCKET_CONNECT_TIMEOUT_MS
static final int DEFAULT_MQTT_CONNECT_TIMEOUT_MS
@NotNull static @NotNull MqttClientTransportConfigBuilder builder()
@NotNull @NotNull InetSocketAddress getServerAddress()
@NotNull @NotNull Optional<InetSocketAddress> getLocalAddress()
@NotNull @NotNull Optional<MqttClientSslConfig> getSslConfig()
@NotNull @NotNull Optional<MqttWebSocketConfig> getWebSocketConfig()
@NotNull @NotNull Optional<MqttProxyConfig> getProxyConfig()
int getSocketConnectTimeoutMs()
int getMqttConnectTimeoutMs()
@NotNull @NotNull MqttClientTransportConfigBuilder extend()