Comm class

Constructors

Comm(BufferedSocket _socket, Handler? _handler, Completer _completer, int? maxPacketSize)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() → void
execHandler(Handler handler, Duration? timeout) Future
execHandlerNoResponse(Handler handler, Duration? timeout) Future<void>
execResultHandler(HandlerWithResult handler, Duration timeout) Future<StreamedResults>
forwardError(dynamic e, {bool keepOpen = false, dynamic st}) → void
Forwards error
handleError(Object e, {bool keepOpen = false, StackTrace? st}) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readPacket() Future<void>
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

connect(ConnectionSettings c) Future<Comm>

Constants

statePacketData → const int
statePacketHeader → const int