SpringAwareMqtt3Client

class SpringAwareMqtt3Client(delegate: Mqtt3Client, connectOptions: Mqtt3Connect) : Mqtt3Client, InitializingBean, DisposableBean

Subclass of the mqtt 3 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

SpringAwareMqtt3Client
Link copied to clipboard
fun SpringAwareMqtt3Client(delegate: Mqtt3Client, connectOptions: Mqtt3Connect = Mqtt3Connect.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() Mqtt3ClientConfig
getState
Link copied to clipboard
@NotNull()
open fun getState(): @NotNull() MqttClientState
toAsync
Link copied to clipboard
@NotNull()
open override fun toAsync(): @NotNull() Mqtt3AsyncClient
toBlocking
Link copied to clipboard
@NotNull()
open override fun toBlocking(): @NotNull() Mqtt3BlockingClient
toRx
Link copied to clipboard
@NotNull()
open override fun toRx(): @NotNull() Mqtt3RxClient

Sources

jvm source
Link copied to clipboard