LiteCore
Couchbase Lite cross-platform core implementation
Loading...
Searching...
No Matches
Data Fields
C4ReplicatorParameters Struct Reference

Parameters describing a replication, used when creating a C4Replicator. More...

#include <c4ReplicatorTypes.h>

Data Fields

C4Slice optionsDictFleece
 Optional Fleece-encoded dictionary of optional parameters.
 
C4ReplicatorStatusChangedCallback onStatusChanged
 Callback to be invoked when replicator's status changes.
 
C4ReplicatorDocumentsEndedCallback onDocumentsEnded
 Callback notifying status of individual documents.
 
C4ReplicatorBlobProgressCallback onBlobProgress
 Callback notifying blob progress.
 
C4ReplicatorPropertyEncryptionCallback propertyEncryptor
 
C4ReplicatorPropertyDecryptionCallback propertyDecryptor
 
void * callbackContext
 Value to be passed to the callbacks.
 
const C4SocketFactorysocketFactory
 Custom C4SocketFactory, if not NULL.
 
C4ReplicationCollectioncollections
 
size_t collectionCount
 

Detailed Description

Parameters describing a replication, used when creating a C4Replicator.

Field Documentation

◆ callbackContext

void* C4ReplicatorParameters::callbackContext

Value to be passed to the callbacks.

◆ collectionCount

size_t C4ReplicatorParameters::collectionCount

◆ collections

C4ReplicationCollection* C4ReplicatorParameters::collections

◆ onBlobProgress

C4ReplicatorBlobProgressCallback C4ReplicatorParameters::onBlobProgress

Callback notifying blob progress.

◆ onDocumentsEnded

C4ReplicatorDocumentsEndedCallback C4ReplicatorParameters::onDocumentsEnded

Callback notifying status of individual documents.

◆ onStatusChanged

C4ReplicatorStatusChangedCallback C4ReplicatorParameters::onStatusChanged

Callback to be invoked when replicator's status changes.

◆ optionsDictFleece

C4Slice C4ReplicatorParameters::optionsDictFleece

Optional Fleece-encoded dictionary of optional parameters.

◆ propertyDecryptor

C4ReplicatorPropertyDecryptionCallback C4ReplicatorParameters::propertyDecryptor

◆ propertyEncryptor

C4ReplicatorPropertyEncryptionCallback C4ReplicatorParameters::propertyEncryptor

◆ socketFactory

const C4SocketFactory* C4ReplicatorParameters::socketFactory

Custom C4SocketFactory, if not NULL.


The documentation for this struct was generated from the following file: