Inheritance: DatabaseImpl, ReplicationMasterDatabase
 /// <summary>
 /// Constructor of replication master file
 /// <param name="db">replication database</param>
 /// <param name="file">local file used to store data locally</param>
 /// <param name="asyncBufSize">size of asynchronous buffer</param>
 /// </summary>
 public AsyncReplicationMasterFile(ReplicationMasterDatabaseImpl db, IFile file, int asyncBufSize)
     : base(db, file)
 {
     this.asyncBufSize = asyncBufSize;
     start();
 }
 /// <summary>
 /// Constructor of replication master file
 /// </summary>
 /// <param name="db">replication database</param>
 /// <param name="file">local file used to store data locally</param>
 public ReplicationMasterFile(ReplicationMasterDatabaseImpl db, IFile file)
     : this(file, db.hosts, db.replicationAck)
 {
     this.db = db;
 }
 /// <summary>
 /// Constructor of replication master file
 /// <param name="db">replication database</param>
 /// <param name="file">local file used to store data locally</param>
 /// <param name="asyncBufSize">size of asynchronous buffer</param>
 /// </summary>
 public AsyncReplicationMasterFile(ReplicationMasterDatabaseImpl db, IFile file, int asyncBufSize)
     : base(db, file)
 {
     this.asyncBufSize = asyncBufSize;
     start();
 }
Exemple #4
0
 /// <summary>
 /// Constructor of replication master file
 /// </summary>
 /// <param name="db">replication database</param>
 /// <param name="file">local file used to store data locally</param>
 public ReplicationMasterFile(ReplicationMasterDatabaseImpl db, IFile file)
     : this(file, db.hosts, db.replicationAck)
 {
     this.db = db;
 }