NetworkerPipeTransformer<I, O> class final

Inheritance

Constructors

NetworkerPipeTransformer(O _decode(I), I _encode(O))

Properties

hashCode → int
The hash code for this object.
no setterinherited
read → Stream<NetworkerPacket<O>>
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
write → Stream<NetworkerPacket<I>>
no setterinherited

Methods

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

Operators

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