示例#1
0
 public TcsRemove(DhtBuilder <dynamic> builder, IEvaluationSchemeDht evaluationScheme)
     : base(builder)
 {
     _evaluationScheme = evaluationScheme;
 }
示例#2
0
 public TcsRemove(DhtBuilder <dynamic> builder)
     : this(builder, new VotingSchemeDht())
 {
 }
示例#3
0
 public TcsGet(DhtBuilder <dynamic> builder, int min, IEvaluationSchemeDht evaluationScheme)
     : base(builder)
 {
     _min = min;
     _evaluationScheme = evaluationScheme;
 }
示例#4
0
 public TcsGet(DhtBuilder <dynamic> builder)
     : this(builder, 0, new VotingSchemeDht())
 {
 }
示例#5
0
 /// <summary>
 /// Creates a new DHT task object that keeps track of the status of the DHT operations.
 /// </summary>
 /// <param name="builder"></param>
 protected TcsDht(DhtBuilder <dynamic> builder)
 {
     Builder = builder;
 }
示例#6
0
 /// <summary>
 /// Creates a new DHT task object that keeps track of the status of the PUT operation.
 /// </summary>
 /// <param name="builder"></param>
 /// <param name="min">The minimum of expected results.</param>
 /// <param name="dataSize"></param>
 public TcsPut(DhtBuilder <dynamic> builder, int min, int dataSize)
     : base(builder)
 {
     _min      = min;
     _dataSize = dataSize;
 }