Client class abstract
Queries a pub_sub
server.
- Implementers
Constructors
- Client()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
close(
) → Future - Disposes of this client.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
publish(
String eventName, dynamic value) → Future - Publishes an event to the server.
-
subscribe(
String eventName) → Future< ClientSubscription> -
Request a
ClientSubscription
to the desiredeventName
from the server. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited