public CachedPacketInformation(Packet packet, ushort sequenceNumber, int totalFragmentCount, bool publishMessage)
 {
     this.Packet = packet;
     this.SequenceNumber = sequenceNumber;
     this.TotalFragmentCount = totalFragmentCount;
     this.PublishMessage = publishMessage;
 }
        public bool AddPacketFragment(Packet packet)
        {
            lock (fragmentLockObject) {
                packetFragments.Add(packet);

                return IsPacketComplete();
            }
        }