Class PacketFragmentList


  • public class PacketFragmentList
    extends Object
    • Field Detail

      • size

        protected int size
      • startTime

        protected long startTime
      • duration

        protected long duration
    • Constructor Detail

      • PacketFragmentList

        public PacketFragmentList()
    • Method Detail

      • addPacketFragment

        public void addPacketFragment​(IPacketFragment fragment)
      • addPacketFragment

        public void addPacketFragment​(int insertLoc,
                                      IPacketFragment fragment)
      • removeBytes

        public void removeBytes​(int offset,
                                int len)
      • clearFragment

        public void clearFragment()
      • size

        public int size()
      • getFragmentsInternal

        public java.util.List<IPacketFragment> getFragmentsInternal()
      • getStartTime

        public long getStartTime()
      • setStartTime

        public void setStartTime​(long startTime)
      • getDuration

        public long getDuration()
      • setDuration

        public void setDuration​(long duration)
      • toByteArray

        public byte[] toByteArray()
      • toByteArray

        public byte[] toByteArray​(boolean copy)