TestConnection mixin

Mixin for testing with shim ConnectionInterfaces.

Mixin Applications

Properties

connected bool
read / write
closed bool
read / write
messageHandler Uint8ListCallback
read / write
errorHandler StringCallback
read / write
doneHandler StringCallback
read / write
sent Queue<String>
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

close() → void
handleError(StringCallback errorHandler) → void
handleDone(StringCallback doneHandler) → void
listen(Uint8ListCallback messageHandler) → void
toString() String
A string representation of this object. [...]
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited

Operators

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