Class PcapDumper

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public final class PcapDumper
    extends java.lang.Object
    implements java.lang.AutoCloseable
    Since:
    pcap4j 0.9.9
    Author:
    Kaito Yamada
    • Method Summary

      Modifier and Type Method Description
      void close()
      Closes this PcapDumper.
      void dump​(PcapPacket packet)  
      void dump​(Packet packet)  
      void dump​(Packet packet, java.time.Instant timestamp)  
      void dumpRaw​(byte[] packet)  
      void dumpRaw​(byte[] packet, java.time.Instant timestamp)  
      void flush()  
      long ftell()  
      boolean isOpen()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait