FilteredNetworkerPipe<T> class final

Inheritance

Constructors

FilteredNetworkerPipe({bool filterEncoded(T, Channel)?, bool filterDecoded(T, Channel)?})

Properties

filterDecoded → bool Function(T, Channel)?
final
filterEncoded → bool Function(T, Channel)?
final
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
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)?>
override
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)?>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onMessage(T data, [Channel channel = kAnyChannel]) → Future<void>
inherited
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