org.pcap4j.packet.factory.PacketInstantiater Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pcap4j-packetfactory-static Show documentation
Show all versions of pcap4j-packetfactory-static Show documentation
Static implementations of Pcap4J packet factory.
/*_##########################################################################
_##
_## Copyright (C) 2012-2014 Kaito Yamada
_##
_##########################################################################
*/
package org.pcap4j.packet.factory;
import org.pcap4j.packet.IllegalRawDataException;
import org.pcap4j.packet.Packet;
interface PacketInstantiater {
public Packet newInstance(
byte [] rawData, int offset, int length
) throws IllegalRawDataException;
public Class extends Packet> getTargetClass();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy