@DoNotImplement public interface Mqtt3ClientConfig extends MqttClientConfig
Mqtt3Client.| Modifier and Type | Method and Description |
|---|---|
@NotNull Optional<Mqtt3ClientConnectionConfig> |
getConnectionConfig()
Returns the optional connection configuration of the client.
|
@NotNull Optional<Mqtt3SimpleAuth> |
getSimpleAuth()
Returns the optional simple authentication and/or authorization related data of the client.
|
@NotNull Optional<Mqtt3Publish> |
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<Mqtt3ClientConnectionConfig> getConnectionConfig()
MqttClientConfiggetConnectionConfig in interface MqttClientConfig@NotNull @NotNull Optional<Mqtt3SimpleAuth> getSimpleAuth()
It is used as default if Mqtt3Connect.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 Mqtt3Connect.simpleAuth instead.
@NotNull @NotNull Optional<Mqtt3Publish> getWillPublish()
It is used as default if Mqtt3Connect.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 Mqtt3Connect.willPublish instead.