SessionSurface class abstract

The contract the loop driver's host adapter relies on.

Implementers

Constructors

SessionSurface()

Properties

handshake HandshakeResult
The merged handshake (manifest + capabilities + contract version). For a single host this is that host's handshake; for a multi-host session it is the union across hosts. Throws StateError before start() completes.
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

disableExtension(String namespace, String reason) → void
Record an auto-disable for namespace with a human-readable reason.
executeAction(String tool, Map<String, dynamic> args) Future<Map<String, dynamic>>
Execute a <namespace>.<tool> action. A multi-host session routes it to the owning host; a single-host session forwards to its client.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pullObservation({StabilityPolicy policy}) Future<Observation>
Pull a stable observation. For a multi-host session this is the merged observation (every host's namespaced fragment, side by side).
toString() String
A string representation of this object.
inherited

Operators

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