OfflineGanttSyncClient class

Implemented types

Constructors

OfflineGanttSyncClient(Future<SqliteCrdt> _dbFuture, [WebSocketGanttSyncClient? _innerClient])

Properties

connectionStateStream Stream<bool>
no setter
hashCode int
The hash code for this object.
no setterinherited
operationStream Stream<Operation>
Stream of incoming operations from the server/peers.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clearQueue() Future<void>
dispose() Future<void>
getInitialState() Future<List<Operation>>
Fetches the initial state or full state from the server. Returns a list of operations representing the history or current state.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeInnerClient() Future<void>
sendOperation(Operation operation) Future<void>
Sends an operation to the server/peers.
override
sendOperations(List<Operation> operations) Future<void>
Sends multiple operations to the server/peers efficiently.
override
setInnerClient(WebSocketGanttSyncClient client) Future<void>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited