Connection class abstract interface

Implemented types
Implementers

Properties

hashCode → int
The hash code for this object.
no setterinherited
isAlive → bool
no setter
isAvailable → bool
ready for reading
no setter
isBound → bool
no setter
isClosed → bool
no setter
isConnected → bool
no setter
isVacant → bool
ready for writing
no setter
localAddress → SocketAddress?
no setter
remoteAddress → SocketAddress?
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
state → ConnectionState?
no setter

Methods

close() → Future<void>
Close the connection
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onReceivedData(Uint8List data) → Future<void>
Process received data
sendData(Uint8List data) → Future<int>
Send data
tick(DateTime now, Duration elapsed) → Future<void>
Drive current thread forward
inherited
toString() → String
A string representation of this object.
inherited

Operators

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