1 package edu.uci.iotproject.detection;
3 import org.pcap4j.core.PcapPacket;
8 * Used for registering for notifications from a signature detector.
10 * @author Janus Varmarken {@literal <jvarmark@uci.edu>}
11 * @author Rahmadi Trimananda {@literal <rtrimana@uci.edu>}
13 public interface SignatureDetectorObserver {
16 * Invoked when the signature detector has detected the presence of a signature in the traffic that it's examining.
17 * @param searchedSignature The signature that the signature detector reporting the match is searching for.
18 * @param matchingTraffic The actual traffic trace that matches the searched signature.
20 void onSignatureDetected(List<List<List<PcapPacket>>> searchedSignature, List<List<PcapPacket>> matchingTraffic);