ChessnutCommunicationClient class

Constructors

ChessnutCommunicationClient(ChessnutCommunicationType type, Future<void> send(Uint8List), {bool waitForAck = false, Duration ackTimeout = const Duration(seconds: 1)})

Properties

ackStream Stream<Uint8List>
no setter
ackTimeout Duration
final
hashCode int
The hash code for this object.
no setterinherited
receiveStream Stream<Uint8List>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
send Future<void> Function(Uint8List)
final
type ChessnutCommunicationType
final
waitForAck bool
final

Methods

handleAckReceive(Uint8List message) → dynamic
handleReceive(Uint8List message) → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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