Package org.pcap4j.packet.factory.statik
Class StaticRadiotapDataFieldFactory
- java.lang.Object
-
- org.pcap4j.packet.factory.statik.StaticRadiotapDataFieldFactory
-
- All Implemented Interfaces:
org.pcap4j.packet.factory.PacketFactory<org.pcap4j.packet.RadiotapPacket.RadiotapData,org.pcap4j.packet.namednumber.RadiotapPresentBitNumber>
public final class StaticRadiotapDataFieldFactory extends java.lang.Object implements org.pcap4j.packet.factory.PacketFactory<org.pcap4j.packet.RadiotapPacket.RadiotapData,org.pcap4j.packet.namednumber.RadiotapPresentBitNumber>
- Since:
- pcap4j 1.6.5
- Author:
- Kaito Yamada
-
-
Method Summary
Modifier and Type Method Description static StaticRadiotapDataFieldFactory
getInstance()
org.pcap4j.packet.RadiotapPacket.RadiotapData
newInstance(byte[] rawData, int offset, int length)
This method is a variant ofnewInstance(byte[], int, int, RadiotapPresentBitNumber...)
and exists only for performance reason.org.pcap4j.packet.RadiotapPacket.RadiotapData
newInstance(byte[] rawData, int offset, int length, org.pcap4j.packet.namednumber.RadiotapPresentBitNumber number)
This method is a variant ofnewInstance(byte[], int, int, RadiotapPresentBitNumber...)
and exists only for performance reason.org.pcap4j.packet.RadiotapPacket.RadiotapData
newInstance(byte[] rawData, int offset, int length, org.pcap4j.packet.namednumber.RadiotapPresentBitNumber... numbers)
org.pcap4j.packet.RadiotapPacket.RadiotapData
newInstance(byte[] rawData, int offset, int length, org.pcap4j.packet.namednumber.RadiotapPresentBitNumber number1, org.pcap4j.packet.namednumber.RadiotapPresentBitNumber number2)
This method is a variant ofnewInstance(byte[], int, int, RadiotapPresentBitNumber...)
and exists only for performance reason.
-
-
-
Method Detail
-
getInstance
public static StaticRadiotapDataFieldFactory getInstance()
- Returns:
- the singleton instance of StaticRadiotapDataFieldFactory.
-
newInstance
public org.pcap4j.packet.RadiotapPacket.RadiotapData newInstance(byte[] rawData, int offset, int length)
This method is a variant ofnewInstance(byte[], int, int, RadiotapPresentBitNumber...)
and exists only for performance reason.- Parameters:
rawData
- seePacketFactory.newInstance(byte[], int, int, N...)
.offset
- seePacketFactory.newInstance(byte[], int, int, N...)
.length
- seePacketFactory.newInstance(byte[], int, int, N...)
.- Returns:
- see
PacketFactory.newInstance(byte[], int, int, N...)
.
-
newInstance
public org.pcap4j.packet.RadiotapPacket.RadiotapData newInstance(byte[] rawData, int offset, int length, org.pcap4j.packet.namednumber.RadiotapPresentBitNumber number)
This method is a variant ofnewInstance(byte[], int, int, RadiotapPresentBitNumber...)
and exists only for performance reason.- Parameters:
rawData
- seePacketFactory.newInstance(byte[], int, int, N...)
.offset
- seePacketFactory.newInstance(byte[], int, int, N...)
.length
- seePacketFactory.newInstance(byte[], int, int, N...)
.number
- seePacketFactory.newInstance(byte[], int, int, N...)
.- Returns:
- see
PacketFactory.newInstance(byte[], int, int, N...)
.
-
newInstance
public org.pcap4j.packet.RadiotapPacket.RadiotapData newInstance(byte[] rawData, int offset, int length, org.pcap4j.packet.namednumber.RadiotapPresentBitNumber number1, org.pcap4j.packet.namednumber.RadiotapPresentBitNumber number2)
This method is a variant ofnewInstance(byte[], int, int, RadiotapPresentBitNumber...)
and exists only for performance reason.- Parameters:
rawData
- seePacketFactory.newInstance(byte[], int, int, N...)
.offset
- seePacketFactory.newInstance(byte[], int, int, N...)
.length
- seePacketFactory.newInstance(byte[], int, int, N...)
.number1
- seePacketFactory.newInstance(byte[], int, int, N...)
.number2
- seePacketFactory.newInstance(byte[], int, int, N...)
.- Returns:
- see
PacketFactory.newInstance(byte[], int, int, N...)
.
-
newInstance
public org.pcap4j.packet.RadiotapPacket.RadiotapData newInstance(byte[] rawData, int offset, int length, org.pcap4j.packet.namednumber.RadiotapPresentBitNumber... numbers)
- Specified by:
newInstance
in interfaceorg.pcap4j.packet.factory.PacketFactory<org.pcap4j.packet.RadiotapPacket.RadiotapData,org.pcap4j.packet.namednumber.RadiotapPresentBitNumber>
-
-