Exemplo n.º 1
0
 public void UpdateClock(VectorClockImpl newerClock)
 {
     for (int i = 0; i < newerClock.Length; i++)
     {
         this.clock.Set(i, newerClock[i]);
     }
 }
Exemplo n.º 2
0
 public CommunicationLogic(ApplicationLogic appLogic, int ownerIndex)
 {
     this.clock    = new VectorClockImpl(ownerIndex);
     this.appLogic = appLogic;
 }