Exemple #1
0
        // 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));
        }
Exemple #2
0
 ///<resume>when is atributed to the replica itself</resume>
 public DTOtupleState(TupleWrapper tupleWraper, string owner)
 {
     stage            = ATRIBUTED;
     this.tupleWraper = tupleWraper;
 }
Exemple #3
0
 ///<resume>stat when have no owner</resume>
 public DTOtupleState(TupleWrapper tupleWraper)
 {
     stage            = RECEIVED;
     this.tupleWraper = tupleWraper;
 }
Exemple #4
0
 public OtherReplicaTuple(TupleWrapper t)
 {
     tuple = t;
 }