Server class
A server that implements the pub_sub
protocol.
It can work using multiple Adapters, to simultaneously serve local and remote clients alike.
Constructors
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
-
addAdapter(
Adapter adapter) → void - Adds a new Adapter to adapt incoming clients from a new interface.
-
close(
) → Future - Disposes of this server, and closes all of its adapters.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerClient(
ClientInfo client) → void - Registers a new client with the server.
-
start(
) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited