mqtt-starter
/
de.smartsquare.starter.mqtt
/
MqttProperties
Mqtt
Properties
@
Validated
()
@
ConstructorBinding
()
@
ConfigurationProperties
(
prefix =
mqtt
)
data class
MqttProperties
(port:
Int
,
@
NotEmpty
()
host:
String
,
@
NotEmpty
()
clientId:
String
?,
@
NotEmpty
()
username:
String
,
@
NotEmpty
()
password:
String
, group:
String
?, ssl:
Boolean
)
Content copied to clipboard
Properties for connection to the mqtt broker.
Constructors
Properties
Sources
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
)
Content copied to clipboard
Properties
clientId
Link copied to clipboard
val
clientId
:
String
? = null
Content copied to clipboard
The client id this component should connect with.
group
Link copied to clipboard
val
group
:
String
? = null
Content copied to clipboard
The optional group subscriptions should be prefixed with.
host
Link copied to clipboard
val
host
:
String
Content copied to clipboard
The host the mqtt broker is available under.
password
Link copied to clipboard
val
password
:
String
Content copied to clipboard
The password this component should connect with.
port
Link copied to clipboard
val
port
:
Int
Content copied to clipboard
The port the mqtt broker is available under.
ssl
Link copied to clipboard
val
ssl
:
Boolean
Content copied to clipboard
If ssl should be used for the connection to the mqtt broker.
username
Link copied to clipboard
val
username
:
String
Content copied to clipboard
The username this component should connect with.
Sources
jvm source
Link copied to clipboard