Esempio n. 1
0
 public PeerState(IPeer peer, MatchIndex matchIndex, NextIndex nextIndex)
 {
     Peer       = peer;
     MatchIndex = matchIndex;
     NextIndex  = nextIndex;
 }
Esempio n. 2
0
 public void UpdateNextIndex(int nextLogIndexToSendToPeer)
 {
     NextIndex = new NextIndex(Peer, nextLogIndexToSendToPeer);
 }