All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.pcap4j.packet.factory.PacketInstantiater Maven / Gradle / Ivy

There is a newer version: 2.0.0-alpha.6
Show newest version
/*_##########################################################################
  _##
  _##  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 getTargetClass();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy