SpringAwareMqtt5Client

class SpringAwareMqtt5Client(delegate: Mqtt5Client, connectOptions: Mqtt5Connect) : Mqtt5Client, InitializingBean, DisposableBean

Subclass of the mqtt 5 client to expose with awareness of the Spring lifecycle. Connects on creation and disconnects on destruction. All other methods are delegated to an internal instance.

Constructors

SpringAwareMqtt5Client
Link copied to clipboard
fun SpringAwareMqtt5Client(delegate: Mqtt5Client, connectOptions: Mqtt5Connect = Mqtt5Connect.builder().build())

Functions

afterPropertiesSet
Link copied to clipboard
open override fun afterPropertiesSet()
destroy
Link copied to clipboard
open override fun destroy()
getConfig
Link copied to clipboard
@NotNull()
open override fun getConfig(): @NotNull() Mqtt5ClientConfig
getState
Link copied to clipboard
@NotNull()
open fun getState(): @NotNull() MqttClientState
toAsync
Link copied to clipboard
@NotNull()
open override fun toAsync(): @NotNull() Mqtt5AsyncClient
toBlocking
Link copied to clipboard
@NotNull()
open override fun toBlocking(): @NotNull() Mqtt5BlockingClient
toRx
Link copied to clipboard
@NotNull()
open override fun toRx(): @NotNull() Mqtt5RxClient

Sources

jvm source
Link copied to clipboard