ReplicatorConfiguration

expect constructor(target: Endpoint)(source)

Create a Replicator Configuration

Parameters

target

the target endpoint


expect constructor(config: ReplicatorConfiguration)(source)

Create a Replicator Configuration

Parameters

config

the config to copy


expect constructor(database: Database, target: Endpoint)(source)

Deprecated

Use ReplicatorConfiguration(Endpoint)

Replace with

ReplicatorConfiguration(target).addCollection(database.defaultCollection, null)

Create a Replicator Configuration

Parameters

database

the database to be synchronized

target

the endpoint with which to synchronize it

actual constructor(target: Endpoint)(source)
actual constructor(config: ReplicatorConfiguration)(source)

actual constructor(database: Database, target: Endpoint)(source)

Deprecated

Use ReplicatorConfiguration(Endpoint)

Replace with

ReplicatorConfiguration(target).addCollection(database.defaultCollection, null)
actual constructor(target: Endpoint)(source)
actual constructor(config: ReplicatorConfiguration)(source)

actual constructor(database: Database, target: Endpoint)(source)

Deprecated

Use ReplicatorConfiguration(Endpoint)

Replace with

ReplicatorConfiguration(target).addCollection(database.defaultCollection, null)