PahoMqttClient

class PahoMqttClient(val client: MqttClient) : DashMqttClient

Constructors

Link copied to clipboard
constructor(client: MqttClient)

Properties

Link copied to clipboard
val client: MqttClient

Functions

Link copied to clipboard
open override fun close()
Link copied to clipboard
open override fun connect()
Link copied to clipboard
open override fun isConnected(): Boolean
Link copied to clipboard
open override fun publish(topic: String, message: String)
open override fun <T> publish(topic: String, serializer: KSerializer<T>, value: T)
Link copied to clipboard
open override fun register(topic: String, listener: DashMqttMessageListener)
Link copied to clipboard
open override fun setCallback(callback: DashMqttCallback?)
Link copied to clipboard
open override fun subscribe(vararg topics: String)
Link copied to clipboard
open override fun unregister(topic: String, listener: DashMqttMessageListener)