Class PcapHandle.GotRawPacketFuncExecutor

    • Nested Class Summary

      • Nested classes/interfaces inherited from interface com.sun.jna.Callback

        com.sun.jna.Callback.UncaughtExceptionHandler
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.concurrent.Executor executor  
      private RawPacketListener listener  
      • Fields inherited from interface com.sun.jna.Callback

        FORBIDDEN_NAMES, METHOD_NAME
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void got_packet​(com.sun.jna.Pointer args, com.sun.jna.Pointer header, com.sun.jna.Pointer packet)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • executor

        private final java.util.concurrent.Executor executor
    • Constructor Detail

      • GotRawPacketFuncExecutor

        public GotRawPacketFuncExecutor​(RawPacketListener listener,
                                        java.util.concurrent.Executor executor)
    • Method Detail

      • got_packet

        public void got_packet​(com.sun.jna.Pointer args,
                               com.sun.jna.Pointer header,
                               com.sun.jna.Pointer packet)
        Specified by:
        got_packet in interface NativeMappings.pcap_handler