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