private void AddNotAcked(SequenceState seqState, ushort seqNum, ArraySegment <byte> fullBuffer) { var notAcked = new NotAckedPacket(); notAcked.Buffer = fullBuffer.Array; notAcked.Offset = fullBuffer.Offset; notAcked.Length = fullBuffer.Count; notAcked.SendTicks = Environment.TickCount; notAcked.SeqNum = seqNum; seqState.AddNotAcked(notAcked); }
public void AddNotAcked(NotAckedPacket packet) { _notAcked.Add(packet); }