EchoPipe<T> class

Inheritance

Constructors

EchoPipe({Channel? toChannel})

Properties

hashCode → int
The hash code for this object.
no setterinherited
read → Stream<NetworkerPacket<T>>
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
toChannel → Channel?
final
write → Stream<NetworkerPacket<T>>
no setterinherited

Methods

connect(NetworkerPipe<T, dynamic> pipe) → void
inherited
decode(T data) → T
inherited
decodeChannel(T data, Channel channel) → FutureOr<(T, Channel)?>
inherited
disconnect(NetworkerPipe<T, dynamic> pipe) → void
inherited
dispose() → void
Disposes all stream controllers and disconnects all connected pipes.
inherited
encode(T data) → T
inherited
encodeChannel(T data, Channel channel) → FutureOr<(T, Channel)?>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onMessage(T data, [Channel channel = kAnyChannel]) → Future<void>
override
sendMessage(T data, [Channel channel = kAnyChannel]) → Future<void>
inherited
sendPacket(T data, Channel channel) → FutureOr<void>
inherited
toString() → String
A string representation of this object.
inherited

Operators

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