isPresent()) {
List<PcapPacket> matchSeq = match.get();
// Notify observers about the match.
+ // Max number of skipped packets in layer 3 is 0 (no skipped packets)
mObservers.forEach(o -> o.onMatch(Layer3ClusterMatcher.this, matchSeq));
-// if (!matchSeq.get(matchSeq.size()-1).getTimestamp().isAfter(matchSeq.get(0).getTimestamp().
-// plusMillis(mInclusionTimeMillis))) {
-// // Notify observers about the match.
-// mObservers.forEach(o -> o.onMatch(Layer3ClusterMatcher.this, matchSeq));
-// }
/*
* Get the index in cPkts of the last packet in the sequence of packets that matches the searched
* signature sequence.
isPresent()) {
List<PcapPacket> matchSeq = match.get();
// Notify observers about the match.
+ // Max number of skipped packets in layer 3 is 0 (no skipped packets)
mObservers.forEach(o -> o.onMatch(Layer3ClusterMatcher.this, matchSeq));
-// if (!matchSeq.get(matchSeq.size()-1).getTimestamp().isAfter(matchSeq.get(0).getTimestamp().
-// plusMillis(mInclusionTimeMillis))) {
-// // Notify observers about the match.
-// mObservers.forEach(o -> o.onMatch(Layer3ClusterMatcher.this, matchSeq));
-// }
/*
* Get the index in cPkts of the last packet in the sequence of packets that matches the searched
* signature sequence.