ConnBase class abstract
Base class for a parallel worker connection.
- Implementers
Properties
- bufferSize → int
-
Gets the buffer size of this connection.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- head → StateHead
-
Gets the state header.
final
- id → String
-
Returns the identifier of this connection.
no setter
- initialState → ConnState
-
Gets the initial connection stated passed in constructor.
final
- onStateChange ↔ (dynamic Function(ConnState?)?)
-
Fires when connection state updates.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- transferred → int
-
Returns the number of bytes transferred.
no setter
Methods
-
close(
) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
start(
) → Future< Stream< DataBody> > - Starts transmission from server.
-
startCore(
) → Future< Stream< List< >int> > -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited