Interface PacketListener

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface PacketListener
    Since:
    pcap4j 0.9.8
    Author:
    Kaito Yamada
    • Method Summary

      Modifier and Type Method Description
      void gotPacket​(PcapPacket packet)  
    • Method Detail

      • gotPacket

        void gotPacket​(PcapPacket packet)
        Parameters:
        packet - packet