SpaceSyncApi class

Constructors

SpaceSyncApi(RpcClient _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

aclAddRecord(ClientContext? ctx, AclAddRecordRequest request) → Future<AclAddRecordResponse>
AclAddRecord adds a new record to acl log. Works only with any-sync-node deprecated: use coordinator api
aclGetRecords(ClientContext? ctx, AclGetRecordsRequest request) → Future<AclGetRecordsResponse>
AclGetRecords gets acl records deprecated: use coordinator api
headSync(ClientContext? ctx, HeadSyncRequest request) → Future<HeadSyncResponse>
HeadSync compares all objects and their hashes in a space
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
objectSync(ClientContext? ctx, ObjectSyncMessage request) → Future<ObjectSyncMessage>
ObjectSync sends object sync message and synchronously gets response message
objectSyncRequestStream(ClientContext? ctx, ObjectSyncMessage request) → Future<ObjectSyncMessage>
ObjectSyncRequestStream opens sends a request and gets streamed response
objectSyncStream(ClientContext? ctx, ObjectSyncMessage request) → Future<ObjectSyncMessage>
ObjectSyncStream opens object sync stream with node or client
spacePull(ClientContext? ctx, SpacePullRequest request) → Future<SpacePullResponse>
SpacePull gets space from the remote peer
spacePush(ClientContext? ctx, SpacePushRequest request) → Future<SpacePushResponse>
SpacePush sends new space to the node
storeDiff(ClientContext? ctx, StoreDiffRequest request) → Future<StoreDiffResponse>
StoreDiff compares all objects and their hashes in a space
storeElements(ClientContext? ctx, StoreKeyValue request) → Future<StoreKeyValue>
StoreElements exchanges elements between peers
toString() → String
A string representation of this object.
inherited

Operators

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