The Python IoTReplicator Constructor

Create an IoTReplicator instance.

For an overview see page Python IoTReplicator Class

Prototype

 
    IoTReplicator(con, comm, params)
 

Arguments

con The database connection to run the replicator on (Only local connection is supported)
comm The optional IoTCommunicator object used for replication. If not specified the default IoTCommunicator object will be created with default parameters
params

A dictionary is expected with the following optional keys:

"conn_pool_size"

The number of connections expected (integer)

Description

This constructor creates an instance of IoTReplicator with the specified parameters.

Returns

IoTReplicator The IoTReplicator object was instantiated successfully
Exception An exception is thrown with the appropriate error message