Esempio n. 1
0
 public GossipState(int?lastReceivedMsgId, int lastSentMsgId, ReverseTimeIndex.Enumerator lastWindowStart,
                    int lastPackageSize, MessageType lastSentMsgType, int?previousSentEndMsgId = null)
 {
     LastReceivedMsgId    = lastReceivedMsgId;
     LastSentMsgId        = lastSentMsgId;
     LastWindowStart      = lastWindowStart;
     LastPackageSize      = lastPackageSize;
     LastSentMsgType      = lastSentMsgType;
     PreviousSentEndMsgId = previousSentEndMsgId;
 }
Esempio n. 2
0
 public void ReleaseEnumerator()
 {
     LastWindowStart = default;
 }