@DoNotImplement public interface Mqtt5ClientBuilder extends MqttClientBuilderBase<Mqtt5ClientBuilder>
Mqtt5Client
.addConnectedListener, addDisconnectedListener, automaticReconnect, automaticReconnect, automaticReconnectWithDefaultConfig, executorConfig, executorConfig, identifier, identifier, serverAddress, serverHost, serverHost, serverPort, sslConfig, sslConfig, sslWithDefaultConfig, transportConfig, transportConfig, useSsl, useSsl, useSslWithDefaultConfig, useWebSocket, useWebSocket, useWebSocketWithDefaultConfig, webSocketConfig, webSocketConfig, webSocketWithDefaultConfig
@CheckReturnValue @NotNull @NotNull Mqtt5ClientBuilder advancedConfig(@NotNull @NotNull Mqtt5ClientAdvancedConfig advancedConfig)
advanced configuration
.advancedConfig
- the advanced configuration.@CheckReturnValue Mqtt5ClientAdvancedConfigBuilder.Nested<? extends Mqtt5ClientBuilder> advancedConfig()
advancedConfig(Mqtt5ClientAdvancedConfig)
.
Calling Mqtt5ClientAdvancedConfigBuilder.Nested#applyAdvancedConfig()
on the returned builder has the
effect of extending the current advanced configuration.
advancedConfig(Mqtt5ClientAdvancedConfig)
@CheckReturnValue @NotNull @NotNull Mqtt5ClientBuilder simpleAuth(@Nullable @Nullable Mqtt5SimpleAuth simpleAuth)
simple authentication and/or authorization related
data
.simpleAuth
- the simple auth related data or null
to remove any previously set simple auth
related data.@CheckReturnValue Mqtt5SimpleAuthBuilder.Nested<? extends Mqtt5ClientBuilder> simpleAuth()
simpleAuth(Mqtt5SimpleAuth)
.
Calling Mqtt5SimpleAuthBuilder.Nested.Complete#applySimpleAuth()
on the returned builder has the same
effect as calling simpleAuth(Mqtt5SimpleAuth)
with the result of Mqtt5SimpleAuthBuilder.Complete#build()
.
simpleAuth(Mqtt5SimpleAuth)
@CheckReturnValue @NotNull @NotNull Mqtt5ClientBuilder enhancedAuth(@Nullable @Nullable Mqtt5EnhancedAuthMechanism enhancedAuthMechanism)
enhancedAuthMechanism
- the enhanced auth mechanism or null
to remove any previously set
enhanced auth mechanism.@CheckReturnValue @NotNull @NotNull Mqtt5ClientBuilder willPublish(@Nullable @Nullable Mqtt5Publish willPublish)
Will Publish
.willPublish
- the Will Publish or null
to remove any previously set Will Publish.@CheckReturnValue Mqtt5WillPublishBuilder.Nested<? extends Mqtt5ClientBuilder> willPublish()
willPublish(Mqtt5Publish)
.
Calling Mqtt5WillPublishBuilder.Nested.Complete#applyWillPublish()
on the returned builder has the same
effect as calling willPublish(Mqtt5Publish)
with the result of Mqtt5WillPublishBuilder.Complete#build()
.
willPublish(Mqtt5Publish)
@CheckReturnValue @NotNull @NotNull Mqtt5Client build()
Mqtt5Client
.Mqtt5Client
.@CheckReturnValue @NotNull @NotNull Mqtt5RxClient buildRx()
Mqtt5RxClient
.Mqtt5RxClient
.@CheckReturnValue @NotNull @NotNull Mqtt5AsyncClient buildAsync()
Mqtt5AsyncClient
.Mqtt5AsyncClient
.@CheckReturnValue @NotNull @NotNull Mqtt5BlockingClient buildBlocking()
Mqtt5BlockingClient
.Mqtt5BlockingClient
.