Class RawPacketCache.Container

  • Enclosing class:
    RawPacketCache

    public class RawPacketCache.Container
    extends Object
    A container for packets in the cache.
    • Field Detail

      • timeAdded

        public long timeAdded
        The time (in milliseconds since the epoch) that the packet was added to the cache.
    • Constructor Detail

      • Container

        public Container​(RawPacket pkt,
                         long timeAdded)
        Initializes a new RawPacketCache.Container instance.
        Parameters:
        pkt - the packet to hold.
        timeAdded - the time the packet was added.