Constructors

Connection()

Properties

codec DsCodec

read / write
onDisconnected → Future<bool>

return true if it's authentication error

read-only
onRequesterReady → Future<ConnectionChannel>

trigger when requester channel is Ready

read-only
pendingAcks → ListQueue<ConnectionAckGroup>

read / write
requesterChannel ConnectionChannel

read-only
responderChannel ConnectionChannel

read-only
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

ack(int ackId) → void

addConnCommand(String key, Object value) → void

send a connection command

close() → void

close the connection

requireSend() → void

notify the connection channel need to send data

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