Click or drag to resize

Replicator Class

An object that is responsible for the replication of data between two endpoints. The replication can set up to be pull only, push only, or both (i.e. pusher and puller are no longer separate) between a database and a URL or a database and another database on the same filesystem.
Inheritance Hierarchy
SystemObject
  Couchbase.Lite.SyncReplicator

Namespace:  Couchbase.Lite.Sync
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0295
Syntax
C#
public sealed class Replicator

The Replicator type exposes the following members.

Constructors
  NameDescription
Public methodReplicator
Constructs a replicator based on the given ReplicatorConfiguration
Top
Properties
  NameDescription
Public propertyConfig
Gets the configuration that was used to create this Replicator
Public propertyLastError
Gets the most recent error associated with this replication
Public propertyStatus
Gets the current status of the Replicator
Top
Methods
  NameDescription
Public methodDispose
Releases all resources used by the Replicator
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Finalizer
(Overrides ObjectFinalize.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStart
Starts the replication
Public methodStop
Stops the replication
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
Top
Events
  NameDescription
Public eventStatusChanged
An event that is fired when the replicator changes its status for reasons like processing more data or changing its condition
Top
See Also