public void AppendTcpPacket(TcpReconstructorPacket newPacket) { if (newPacket != null) { this.LastSequenceNumber = newPacket.LastSequenceNumber; AppendData(newPacket.Data); } CreationTime = DateTime.Now; }
public void InsertPreviousTcpPacket(TcpReconstructorPacket newPacket) { if (newPacket != null) { this.FirstSequenceNumber = newPacket.FirstSequenceNumber; InsertDataFirstPosition(newPacket.Data); } CreationTime = DateTime.Now; }