MqttProperties

data class MqttProperties(port: Int, @NotEmpty() host: String, @NotEmpty() clientId: String?, @NotEmpty() username: String, @NotEmpty() password: String, group: String?, ssl: Boolean)

Properties for connection to the mqtt broker.

Constructors

MqttProperties
Link copied to clipboard
fun MqttProperties(port: Int, @NotEmpty() host: String, @NotEmpty() clientId: String? = null, @NotEmpty() username: String, @NotEmpty() password: String, group: String? = null, ssl: Boolean)

Properties

clientId
Link copied to clipboard
val clientId: String? = null
The client id this component should connect with.
group
Link copied to clipboard
val group: String? = null
The optional group subscriptions should be prefixed with.
host
Link copied to clipboard
val host: String
The host the mqtt broker is available under.
password
Link copied to clipboard
val password: String
The password this component should connect with.
port
Link copied to clipboard
val port: Int
The port the mqtt broker is available under.
ssl
Link copied to clipboard
val ssl: Boolean
If ssl should be used for the connection to the mqtt broker.
username
Link copied to clipboard
val username: String
The username this component should connect with.

Sources

jvm source
Link copied to clipboard