Module com.slytechs.jnet.jnetpcap
Package com.slytechs.jnet.jnetpcap
Interface PcapProHandler.OfPacketConsumer
- All Superinterfaces:
Consumer<com.slytechs.jnet.protocol.Packet>,org.jnetpcap.PcapHandler,PcapProHandler
- Enclosing interface:
PcapProHandler
- 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 static interface PcapProHandler.OfPacketConsumer
extends PcapProHandler, Consumer<com.slytechs.jnet.protocol.Packet>
A dispatcher which dispatches high level packets with protocol header
information.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jnetpcap.PcapHandler
org.jnetpcap.PcapHandler.NativeCallback, org.jnetpcap.PcapHandler.OfArray<U>, org.jnetpcap.PcapHandler.OfByteBuffer<U>, org.jnetpcap.PcapHandler.OfMemorySegment<U>Nested classes/interfaces inherited from interface com.slytechs.jnet.jnetpcap.PcapProHandler
PcapProHandler.IpfHandler, PcapProHandler.OfPacket<U>, PcapProHandler.OfPacketConsumer -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(com.slytechs.jnet.protocol.Packet packet) Accept a packet.