Module com.slytechs.jnet.jnetpcap
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 Summary
Modifier and TypeMethodDescriptionnewInstance(org.jnetpcap.internal.PcapDispatcher source, PacketReceiver sink, T config, NetPcap.PcapProContext context) New instance.
-
Method Details
-
newInstance
PacketReceiver newInstance(org.jnetpcap.internal.PcapDispatcher source, PacketReceiver sink, T config, NetPcap.PcapProContext context) New instance.- Parameters:
source- the sourcesink- the sinkconfig- the configcontext- the context- Returns:
- the packet receiver
-