Modifying the value DELETED_SEQUENCES_OFF in the script from 0 to 1 as per bug/error...
[pingpong.git] / Code / Projects / PacketLevelSignatureExtractor / src / main / java / edu / uci / iotproject / trafficreassembly / layer2 / Layer2FlowObserver.java
1 package edu.uci.iotproject.trafficreassembly.layer2;
2
3 import org.pcap4j.core.PcapPacket;
4
5 /**
6  * Interface for observing a {@link Layer2Flow}.
7  *
8  * @author Janus Varmarken {@literal <jvarmark@uci.edu>}
9  * @author Rahmadi Trimananda {@literal <rtrimana@uci.edu>}
10  */
11 public interface Layer2FlowObserver {
12
13     /**
14      * Invoked when a new packet is added to the observed flow.
15      * @param flow The observed flow.
16      * @param newPacket The packet that was added to the flow.
17      */
18     void onNewPacket(Layer2Flow flow, PcapPacket newPacket);
19 }