CRDTSocketServer class abstract
CRDT socket server interface
- Implementers
Constructors
-
CRDTSocketServer.new({List<
ServerSyncPlugin> ? plugins}) - Constructor
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
plugins
→ List<
ServerSyncPlugin> -
The server plugins
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
serverEvents
→ Stream<
ServerEvent> -
Server events stream
no setter
Methods
-
broadcastMessage(
Message message, {List< String> ? excludeClientIds}) → Future<void> - Broadcast a message to all subscribed clients
-
dispose(
) → void - Dispose the server
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sendMessageToClient(
String clientId, Message message) → Future< void> - Send a message to a specific client
-
start(
) → Future< bool> - Start the server
-
stop(
) → Future< void> - Stop the server
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited