NetworkerPipe<I, O> class abstract

Constructors

NetworkerPipe()

Properties

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

Methods

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

Operators

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