NetworkerBase<O> mixin

Superclass constraints

Properties

address → Uri
no setter
hashCode → int
The hash code for this object.
no setterinherited
isClosed → bool
no setter
isOpen → bool
no setter
onClosed → Stream<void>
no setter
onOpen → Stream<void>
no setter
read → Stream<NetworkerPacket<O>>
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
write → Stream<NetworkerPacket<Uint8List>>
no setterinherited

Methods

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

Operators

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