ChannelFilterPipe<T> class

Inheritance

Constructors

ChannelFilterPipe({required Channel channel, bool filterEncoded = true, bool filterDecoded = true, bool allowAnyChannel = true})

Properties

allowAnyChannel → bool
final
channel → int
final
filterDecoded → bool
final
filterEncoded → bool
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) → (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) → (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