FakeGatewayConnection class abstract interface

One gateway connection as a test sees it.

Properties

background → Set<String>
The background threads of the focus (04 6.2 background_thread_ids): run documents and run.updated, no typing.
no setter
closeCode → int?
The close code the server sent, or the one the client sent.
no setter
deviceId → String?
The device after identify or resume.
no setter
focus → Set<String>
The threads in focus.
no setter
gatewaySessionId → String?
The gateway session.
no setter
hashCode → int
The hash code for this object.
no setterinherited
idle → bool
The idle flag of the last focus.
no setter
live → bool
Whether the connection is past catchup.complete (or ready without a cursor).
no setter
number → int
The number of the connection, from 1.
no setter
open → bool
Whether the socket is open.
no setter
principalId → String?
The principal after identify or resume.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
statsSubscription → FakeStatsSubscription?
The stats.live subscription of the gateway session, or null for none (25 5.1). It lives in the session, so resume restores it and identify starts without one.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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