Click or drag to resize

ReplicatorConfiguration Class

A class representing configuration options for a Replicator
Inheritance Hierarchy

Namespace:  Couchbase.Lite.Sync
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0520
public sealed class ReplicatorConfiguration

The ReplicatorConfiguration type exposes the following members.

Public methodReplicatorConfiguration
Constructs a new builder object with the required properties
Public propertyAuthenticator
Gets or sets the class which will authenticate the replication
Public propertyChannels
A set of Sync Gateway channel names to pull from. Ignored for push replicatoin. The default value is null, meaning that all accessible channels will be pulled. Note: channels that are not accessible to the user will be ignored by Sync Gateway.
Public propertyConflictResolver
Gets or sets the object to use when resolving incoming conflicts. The default is null which will set up the default algorithm of the most active revision
Public propertyContinuous
Gets or sets whether or not the Replicator should stay active indefinitely. The default is false
Public propertyDatabase
Gets the local database participating in the replication.
Public propertyDocumentIDs
A set of document IDs to filter by. If not null, only documents with these IDs will be pushed and/or pulled
Public propertyHeaders
Extra HTTP headers to send in all requests to the remote target
Public propertyPinnedServerCertificate
Gets or sets a certificate to trust. All other certificates received by a Replicator with this configuration will be rejected.
Public propertyReplicatorType
A value indicating the direction of the replication. The default is PushAndPull which is bidirectional
Public propertyTarget
Gets the target to replicate with (either Database or Uri
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also