Interface PacketFactoryBinderProvider
- All Known Implementing Classes:
PropertiesBasedPacketFactoryBinderProvider, StaticPacketFactoryBinderProvider
public interface PacketFactoryBinderProvider
Provides an instance of
PacketFactoryBinder
Implementing modules must declare themselves to the core module by:
- creating the file src/main/resources/META-INF/services/org.pcap4j.packet.factory.PacketFactoryBinderProvider
- adding a line in the file '<package>.<className>' for the name of the class
implementing this
PacketFactoryBinderProvider
See ServiceLoader for more information.
- Since:
- pcap4j 1.8.0
-
Method Summary
Modifier and TypeMethodDescriptionThe instance of thePacketFactoryBinderto use to build the packets.
-
Method Details
-
getBinder
PacketFactoryBinder getBinder()The instance of thePacketFactoryBinderto use to build the packets.- Returns:
- a
PacketFactoryBinder
-