Click or drag to resize

IReplication Interface

An interface describing a replication. A replication is a transfer of data between two database endpoints. The two endpoints are a local database, and either another local database or a remote URL.

Namespace:  Couchbase.Lite.Sync
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0074
Syntax
C#
public interface IReplication : IDisposable

The IReplication type exposes the following members.

Properties
  NameDescription
Public propertyContinuous
Gets or sets whether or not this replication should be continuous. Non-continuous replications stop when they finish processing their initial set of changes
Public propertyDatabase
Gets the local Database associated with this replication
Public propertyLastError
Gets the most recent error associated with this replication
Public propertyOtherDatabase
Gets the remote Database being replicated to, if this is a local replication.
Public propertyPull
Gets or sets whether or not this replication should perform pull operations from the remote dataset
Public propertyPush
Gets or sets whether or not this replication should perform push operations from the remote dataset
Public propertyRemoteUrl
Gets the URL of the remote database being replicated to, if this is a network replication
Public propertyStatus
Gets the current status of the IReplication
Top
Methods
  NameDescription
Public methodDispose (Inherited from IDisposable.)
Public methodStart
Starts the replication
Public methodStop
Stops the replication
Top
Events
  NameDescription
Public eventStatusChanged
An event that fires when the replication's status changes
Top
See Also