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, newInstancepublic 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–2016 Pcap4J.org. All rights reserved.