Interface AbstractPacketReceiver.PacketDispatcherFactory<T extends PcapProConfigurator<T>>

Type Parameters:
T - the generic type
Enclosing class:
AbstractPacketReceiver

public static interface AbstractPacketReceiver.PacketDispatcherFactory<T extends PcapProConfigurator<T>>
A factory for creating PacketDispatcher objects.
  • Method Details

    • newInstance

      PacketReceiver newInstance(org.jnetpcap.internal.PcapDispatcher source, PacketReceiver sink, T config, NetPcap.PcapProContext context)
      New instance.
      Parameters:
      source - the source
      sink - the sink
      config - the config
      context - the context
      Returns:
      the packet receiver