// TODO: Check when the replica reads from a file and these tuples are new!!! public override bool Equals(Object obj) { if (obj == null || GetType() != obj.GetType()) { return(false); } TupleWrapper t = (TupleWrapper)obj; return(id.Equals(t.ID)); }
///<resume>when is atributed to the replica itself</resume> public DTOtupleState(TupleWrapper tupleWraper, string owner) { stage = ATRIBUTED; this.tupleWraper = tupleWraper; }
///<resume>stat when have no owner</resume> public DTOtupleState(TupleWrapper tupleWraper) { stage = RECEIVED; this.tupleWraper = tupleWraper; }
public OtherReplicaTuple(TupleWrapper t) { tuple = t; }