public final class StaticTcpPortPacketFactory
extends java.lang.Object
implements org.pcap4j.packet.factory.PacketFactory<org.pcap4j.packet.Packet,org.pcap4j.packet.namednumber.TcpPort>
| Modifier and Type | Method and Description |
|---|---|
static StaticTcpPortPacketFactory |
getInstance() |
org.pcap4j.packet.Packet |
newInstance(byte[] rawData,
int offset,
int length)
This method is a variant of
newInstance(byte[], int, int, TcpPort...) and exists only
for performance reason. |
org.pcap4j.packet.Packet |
newInstance(byte[] rawData,
int offset,
int length,
org.pcap4j.packet.namednumber.TcpPort... numbers) |
org.pcap4j.packet.Packet |
newInstance(byte[] rawData,
int offset,
int length,
org.pcap4j.packet.namednumber.TcpPort number)
This method is a variant of
newInstance(byte[], int, int, TcpPort...) and exists only
for performance reason. |
org.pcap4j.packet.Packet |
newInstance(byte[] rawData,
int offset,
int length,
org.pcap4j.packet.namednumber.TcpPort number1,
org.pcap4j.packet.namednumber.TcpPort number2)
This method is a variant of
newInstance(byte[], int, int, TcpPort...) and exists only
for performance reason. |
public static StaticTcpPortPacketFactory getInstance()
public org.pcap4j.packet.Packet newInstance(byte[] rawData,
int offset,
int length)
newInstance(byte[], int, int, TcpPort...) and exists only
for performance reason.rawData - see PacketFactory.newInstance(byte[], int, int, N...).offset - see PacketFactory.newInstance(byte[], int, int, N...).length - see PacketFactory.newInstance(byte[], int, int, N...).PacketFactory.newInstance(byte[], int, int, N...).public org.pcap4j.packet.Packet newInstance(byte[] rawData,
int offset,
int length,
org.pcap4j.packet.namednumber.TcpPort number)
newInstance(byte[], int, int, TcpPort...) and exists only
for performance reason.rawData - see PacketFactory.newInstance(byte[], int, int, N...).offset - see PacketFactory.newInstance(byte[], int, int, N...).length - see PacketFactory.newInstance(byte[], int, int, N...).number - see PacketFactory.newInstance(byte[], int, int, N...).PacketFactory.newInstance(byte[], int, int, N...).public org.pcap4j.packet.Packet newInstance(byte[] rawData,
int offset,
int length,
org.pcap4j.packet.namednumber.TcpPort number1,
org.pcap4j.packet.namednumber.TcpPort number2)
newInstance(byte[], int, int, TcpPort...) and exists only
for performance reason.rawData - see PacketFactory.newInstance(byte[], int, int, N...).offset - see PacketFactory.newInstance(byte[], int, int, N...).length - see PacketFactory.newInstance(byte[], int, int, N...).number1 - see PacketFactory.newInstance(byte[], int, int, N...).number2 - see PacketFactory.newInstance(byte[], int, int, N...).PacketFactory.newInstance(byte[], int, int, N...).public org.pcap4j.packet.Packet newInstance(byte[] rawData,
int offset,
int length,
org.pcap4j.packet.namednumber.TcpPort... numbers)
newInstance in interface org.pcap4j.packet.factory.PacketFactory<org.pcap4j.packet.Packet,org.pcap4j.packet.namednumber.TcpPort>Copyright © 2011 - 2019 Pcap4J.org. All rights reserved.