DynamicStream class

Receiving stream of generic responses.

Constructors

DynamicStream(ClientStream _stream, MessageModel _output, FileModel _file)

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

cancel() → void
Abandon this stream (RST CANCELLED unless completed).
close() → void
Abandon this stream (RST CANCELLED unless completed).
collect() → Future<List<GenericMessage>>
Collect all responses (simplifies scenario drivers).
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
recv() → Future<GenericMessage>
Next response; throws EndOfStreamError at end.
toString() → String
A string representation of this object.
inherited

Operators

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