public final class StaticEtherTypePacketFactory extends AbstractStaticPacketFactory<EtherType>
instantiaters
Modifier and Type | Method and Description |
---|---|
static StaticEtherTypePacketFactory |
getInstance() |
Packet |
newInstance(byte[] rawData,
int offset,
int length,
EtherType number) |
getTargetClass, getTargetClass, newInstance
public static StaticEtherTypePacketFactory getInstance()
public Packet newInstance(byte[] rawData, int offset, int length, EtherType number)
newInstance
in interface PacketFactory<Packet,EtherType>
newInstance
in class AbstractStaticPacketFactory<EtherType>
rawData
- rawDataoffset
- offsetlength
- lengthnumber
- numberCopyright © 2011–2019 Pcap4J.org. All rights reserved.