FakeRtcBus class
The shared switchboard fake links find each other through.
Real peers find each other over the network; fake ones need a rendezvous. One bus per test, passed to every FakeRtcPeerAdapter in it.
Constructors
Properties
-
adapters
→ Iterable<
FakeRtcPeerAdapter> -
Adapters currently on the bus.
no setter
- deliveryDelay ↔ Duration
-
Delay applied to every delivery. Zero still means asynchronous — a
microtask hop — not synchronous.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
adapterFor(
String selfKey) → FakeRtcPeerAdapter? -
The adapter for
selfKey, if it is still open. -
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