IoStreamPort class abstract

Abstract port for streaming subscriptions to I/O device topics.

Provides subscription lifecycle management: subscribe, unsubscribe, list active subscriptions, and query subscription status.

Implementers

Constructors

IoStreamPort()

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

getStatus(String subscriptionId) → Future<SubscriptionStatus?>
Get subscription status, or null if the subscription does not exist.
listSubscriptions({String? consumerId, String? deviceId}) → Future<List<SubscriptionHandle>>
List active subscriptions, optionally filtered by consumer or device.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
subscribe(TopicSpec spec, {required String consumerId}) → Future<IoStreamSubscription>
Create a subscription and return handle + stream.
toString() → String
A string representation of this object.
inherited
unsubscribe(String subscriptionId) → Future<void>
Unsubscribe from a topic.

Operators

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