Class MqttBrokerConnectionConfig
java.lang.Object
org.openhab.core.io.transport.mqtt.MqttBrokerConnectionConfig
Contains configuration for a MqttBrokerConnection.
- Author:
- David Graeff - Initial contribution, Mark Herwege - Added flag for hostname validation
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturn the brokerID of this connection.toString()
Output the name, host, port, secure flag and hostname validation flag
-
Field Details
-
name
-
host
-
port
-
secure
public boolean secure -
hostnameValidated
public boolean hostnameValidated -
protocol
-
mqttVersion
-
username
-
password
-
clientID
-
qos
-
keepAlive
Keepalive in seconds -
lwtTopic
-
lwtMessage
-
lwtQos
-
lwtRetain
-
-
Constructor Details
-
MqttBrokerConnectionConfig
public MqttBrokerConnectionConfig()
-
-
Method Details
-
getBrokerID
Return the brokerID of this connection. This is either the name or host:port(:s), for instance "myhost:8080:s". This method will return an empty string, if none of the parameters is set. -
toString
Output the name, host, port, secure flag and hostname validation flag
-