WsNetworkStreamFactory class

Builds WebSocket streams for a session.

Inheritance

Constructors

WsNetworkStreamFactory(WsConnection connection, {PeerClockOffsets? clockOffsets})

Properties

clockOffsets → PeerClockOffsets?
Shared per-peer clock offsets, so a data stream can turn a sample's producer slot into a real transit time.
final
connection → WsConnection
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

createCoordinationStream(CoordinationStreamConfig config, CoordinationSession session) → Future<WsCoordinationStream>
Creates a coordination stream with the given configuration and session context.
override
createDataStream(DataStreamConfig config, CoordinationSession session) → Future<WsDataStream>
Creates a data stream with the given configuration and session context.
override
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