Class PcapPacketHeader.Impl

java.lang.Object
pcap.api.internal.PcapPacketHeader.Impl
All Implemented Interfaces:
pcap.spi.PacketHeader
Enclosing interface:
PcapPacketHeader

public static class PcapPacketHeader.Impl
extends java.lang.Object
implements pcap.spi.PacketHeader
  • Method Summary

    Modifier and Type Method Description
    int captureLength()  
    int length()  
    java.foreign.memory.Pointer<PcapPacketHeader> pointer()  
    pcap.spi.Timestamp timestamp()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • timestamp

      public pcap.spi.Timestamp timestamp()
      Specified by:
      timestamp in interface pcap.spi.PacketHeader
    • captureLength

      public int captureLength()
      Specified by:
      captureLength in interface pcap.spi.PacketHeader
    • length

      public int length()
      Specified by:
      length in interface pcap.spi.PacketHeader
    • pointer

      public java.foreign.memory.Pointer<PcapPacketHeader> pointer()