Channel<O, I> class
abstract
The base class for the channels
Developers can extends this class to code channels
- Implementers
Constructors
- Channel.new({required String name})
Properties
Methods
-
decodeInput(
I data) → Uint8List - decode the input of the channel to bytes
-
decodeOutput(
O data) → Uint8List - decode the output of the channel to bytes
-
encodeInput(
Uint8List data) → I - encode the input of the channel from bytes
-
encodeOutput(
Uint8List data) → O - encode the output of the channel from bytes
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
send(
I msg) → Future< O?> - send message through the channel
-
setHandler(
void handler(I, Reply< O> )) → void - set the handler used to handel the channel message
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited