IoRegistryPort class abstract

Abstract port for device and adapter registry operations.

Provides a central registry for discovering IO devices, registering adapters by manifest, and streaming lifecycle events.

Constructors

IoRegistryPort()

Properties

events Stream<RegistryEvent>
Stream of registry lifecycle events.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

discover({String? transportFilter, Duration? timeout}) Future<List<DeviceDescriptor>>
Discover available devices, optionally filtered by transport.
get(String deviceId) Future<DeviceDescriptor?>
Get a specific device descriptor by its identifier.
list({IoConnectionState? stateFilter}) Future<List<DeviceDescriptor>>
List known devices, optionally filtered by connection state.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerAdapter(AdapterManifest manifest, IoDevicePort adapter) Future<void>
Register an adapter with its manifest.
resolveAdapter(String uri) Future<IoDevicePort?>
Resolve the adapter responsible for the given device URI.
toString() String
A string representation of this object.
inherited
unregisterAdapter(String adapterId) Future<void>
Unregister an adapter by its identifier.

Operators

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