MqttDiscoveryConfiguration class final
Experimental DiscoveryConfiguration that is used to perform discovery with the MQTT protocol.
- Inheritance
-
- Object
- DiscoveryConfiguration
- MqttDiscoveryConfiguration
- Annotations
-
- @experimental
Constructors
- MqttDiscoveryConfiguration(Uri brokerUri, {String discoveryTopic = "wot/td/#", String expectedContentType = "application/td+json", Duration discoveryTimeout = const Duration(seconds: 5)})
-
Instantiates a new DiscoveryConfiguration for MQTT.
const
Properties
- brokerUri → Uri
-
Uri of the broker the
final
- discoveryTimeout → Duration
-
Time period after which the MQTT discovery process is going to be
cancelled.
final
- discoveryTopic → String
-
The topic that will be used for performing the discovery process.
final
- expectedContentType → String
-
The Thing Description content type that is expected during the discovery
process.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited