A bidirectional message pipe between two endpoints.
Transport level only. Peer identity, handshakes, clocks, and ticks are session concerns layered above; a raw connection just moves payloads.
- Implementers
Properties
-
done
→ Future<
void> -
Completes once the connection is fully closed, locally or remotely.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isOpen → bool
-
no setter
-
messages
→ Stream<
NetMessage> -
Received payloads in arrival order. Done when the connection closes.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
close(
) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
send(
Channel channel, Uint8List payload) → void -
Queues
payloadfor delivery onchannel. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited