@DoNotImplement public interface Mqtt5ClientConfig extends MqttClientConfig
Mqtt5Client
.Modifier and Type | Method and Description |
---|---|
@NotNull Mqtt5ClientAdvancedConfig |
getAdvancedConfig() |
@NotNull Optional<Mqtt5ClientConnectionConfig> |
getConnectionConfig()
Returns the optional connection configuration of the client.
|
@NotNull Optional<Mqtt5EnhancedAuthMechanism> |
getEnhancedAuthMechanism()
Returns the optional enhanced authentication and/or authorization mechanism of the client.
|
@NotNull Optional<Mqtt5SimpleAuth> |
getSimpleAuth()
Returns the optional simple authentication and/or authorization related data of the client.
|
@NotNull Optional<Mqtt5WillPublish> |
getWillPublish()
Returns the optional Will Publish of the client.
|
getAutomaticReconnect, getClientIdentifier, getConnectedListeners, getDisconnectedListeners, getExecutorConfig, getMqttVersion, getServerAddress, getServerHost, getServerPort, getSslConfig, getState, getTransportConfig, getWebSocketConfig
@NotNull @NotNull Optional<Mqtt5ClientConnectionConfig> getConnectionConfig()
MqttClientConfig
getConnectionConfig
in interface MqttClientConfig
@NotNull @NotNull Mqtt5ClientAdvancedConfig getAdvancedConfig()
@NotNull @NotNull Optional<Mqtt5SimpleAuth> getSimpleAuth()
It is used as default if Mqtt5Connect.simpleAuth
is not set during connect.
Keep in mind that the data is stored with the client in memory. If you want to use it only during connect or if
you use a different token for each connection please set Mqtt5Connect.simpleAuth
instead.
@NotNull @NotNull Optional<Mqtt5EnhancedAuthMechanism> getEnhancedAuthMechanism()
It is used as default if Mqtt5Connect.enhancedAuthMechanism
is not set during connect.
Keep in mind that the mechanism is stored with the client in memory. If you use a different mechanism for each
connection please set Mqtt5Connect.enhancedAuthMechanism
instead.
@NotNull @NotNull Optional<Mqtt5WillPublish> getWillPublish()
It is used as default if Mqtt5Connect.willPublish
is not set during connect.
Keep in mind that the Will Publish is stored with the client in memory. If you use a different Will Publish for
each connection please set Mqtt5Connect.willPublish
instead.