RemoteFrameTransport class abstract interface

Bidirectional frame channel between the app and a peer (a local shell terminal, a browser, a test harness). Frames flow in both directions; lifetime is owned by the caller (typically the driver).

Implementers

Properties

hashCode → int
The hash code for this object.
no setterinherited
incoming → Stream<RemoteFrame>
Stream of frames arriving from the peer. Closes when the peer disconnects or close is called locally.
no setter
isSendBacklogged → bool
True while bytes accepted by send exceed the transport's high-water mark and have not yet been handed to the OS — the peer (or the pipe to it) has stalled. Hosts defer frame PRODUCTION while this is true. A live session never selectively drops accepted frames (the wire protocol's diffs are only valid against the exact previous frame the peer holds); exceeding a transport hard bound fails the whole session closed.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sendDrained → Future<void>
Completes when the send backlog drains — immediately when not backlogged, and always on close (a gated host must never wait forever on a dead peer).
no setter

Methods

close() → Future<void>
Tear the connection down. Idempotent.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
send(RemoteFrame frame) → void
Send one frame to the peer.
toString() → String
A string representation of this object.
inherited

Operators

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