private final List<PcapPacket> mUpperBound;
private final double mEps;
private int mInclusionTimeMillis;
+ private int mSkippedPackets;
/**
* Create a {@code Layer2RangeMatcher}.
mEps = eps;
mInclusionTimeMillis =
inclusionTimeMillis == 0 ? TriggerTrafficExtractor.INCLUSION_WINDOW_MILLIS : inclusionTimeMillis;
+ mSkippedPackets = 0;
}
/**
return false;
}
// If we made it here, it means that this packet has the expected length, direction, and obeys the timing
- // constraints, so we store it and advance.
+ // constraints, so we store it and advance.zzzz
mMatchedPackets.add(packet);
if (mMatchedPackets.size() == mLowerBound.size()) {
// TODO report (to observers?) that we are done?