MqttDiscoverer mixin base

Interface for performing experimental discovery using the MQTT protocol.

Superclass constraints
  1. @experimental

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

invokeResource(AugmentedForm form, Content content) Future<Content>
Requests the client to perform an invokeaction operation on a form using the given content.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
performMqttDiscovery(Uri brokerUri, {required String discoveryTopic, required String expectedContentType, required Duration discoveryTimeout}) Stream<Content>
Performs discovery of Thing Descriptions using the MQTT protocol via the given brokerUri.
readResource(AugmentedForm form) Future<Content>
Requests the client to perform a readproperty operation on a form.
inherited
start() Future<void>
Starts this ProtocolClient.
inherited
stop() Future<void>
Stops this ProtocolClient.
inherited
subscribeResource(AugmentedForm form, {required void next(Content content), void error(Exception error)?, required void complete()}) Future<Subscription>
Requests the client to perform a subscribeproperty operation on a form.
inherited
toString() String
A string representation of this object.
inherited
writeResource(AugmentedForm form, Content content) Future<void>
Requests the client to perform a writeproperty operation on a form using the given content.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited