インタフェース PacketFactoryBinder
-
public interface PacketFactoryBinder
Pcap4J modules can provide a factory to build new packets as they are received.
The implementing modules must also provide aPacketFactoryBinderProvider
- 導入されたバージョン:
- pcap4j 1.8.0
- 作成者:
- Jordan Dubie
-
-
メソッドの概要
すべてのメソッド インスタンス・メソッド abstractメソッド 修飾子とタイプ メソッド 説明 <T,N extends NamedNumber<?,?>>
PacketFactory<T,N>getPacketFactory(Class<T> targetClass, Class<N> numberClass)
Provides aPacketFactory
to build the received packets.
-
-
-
メソッドの詳細
-
getPacketFactory
<T,N extends NamedNumber<?,?>> PacketFactory<T,N> getPacketFactory(Class<T> targetClass, Class<N> numberClass)
Provides aPacketFactory
to build the received packets.- 型パラメータ:
T
- the type of object the factory method returns.N
- the type of object that is given to the factory method.- パラメータ:
targetClass
- targetClassnumberClass
- numberClass- 戻り値:
- the factory
-
-