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; }
public void ReleaseEnumerator() { LastWindowStart = default; }