Transport class abstract interface

Discovers same-app nodes and moves opaque frames between them.

The transport is room-blind: it delivers frames without interpreting their content. Room-based routing and decryption happen in the engine layer.

Implementers

Properties

events → Stream<PeerEvent>
Stream of peer connection and disconnection events.
no setter
hashCode → int
The hash code for this object.
no setterinherited
inbound → Stream<InboundFrame>
Stream of frames received from remote peers.
no setter
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
send(PeerId to, Frame frame) → Future<void>
Sends frame to the peer identified by to.
start({required NodeId self, required String appId}) → Future<void>
Starts the transport, advertising self under appId.
stop() → Future<void>
Stops the transport, closing all active connections.
toString() → String
A string representation of this object.
inherited

Operators

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