Contract implemented by realtime adapters to handle message transmission.
Properties
- canSend → bool
-
Whether sending is currently permitted (e.g. connection is open and writable).
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- protocolType → RealtimeProtocolType
-
The protocol type this sender handles.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
send(
RealtimeMessageDraft draft) → Future< void> -
Transmits the given
draftthrough the underlying connection sink/client. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited