Implements

Constructors

PassiveChannel(Connection conn, [ bool connected = false ])

Properties

conn Connection

final
connected → bool

read / write
handler ConnectionHandler

read / write
isReady → bool

read / write
onConnectController → Completer<ConnectionChannel>

final
onConnected → Future<ConnectionChannel>

read-only
onDisconnectController → Completer<ConnectionChannel>

final
onDisconnected → Future<ConnectionChannel>

read-only
onReceive → Stream<List>

read-only
onReceiveController → StreamController<List>

final
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

Operators

operator ==(other) → bool

The equality operator.

inherited

Methods

getSendingData(int currentTime, int waitingAckId) ProcessorResult

sendWhenReady(ConnectionHandler handler) → void

raw connection need to handle error and resending of data, so it can only send one map at a time a new getData function will always overwrite the previous one; requester and responder should handle the merging of methods

updateConnect() → void

noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited
toString() → String

Returns a string representation of this object.

inherited