InspectorPeer class abstract

One attached peer, from the core's point of view: somewhere frames go.

A socket transport writes an encoded line; a VM-service transport posts an extension event. Neither is the core's business — it holds peers in a set, sends them frames, and drops the ones that fail.

Constructors

InspectorPeer()

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

close() → void
Releases the peer's resources. Called at most once per peer by the core, and expected to tolerate a transport that already tore it down.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
send(Map<String, Object?> frame) → void
Sends one frame. Throwing is a legitimate way to say "this peer is gone"; the core will close and forget it.
toString() → String
A string representation of this object.
inherited

Operators

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