public interface ClusterMatcherObserver
AbstractClusterMatcher
detects traffic that matches an element of its associated cluster.Modifier and Type | Method and Description |
---|---|
void |
onMatch(AbstractClusterMatcher clusterMatcher,
java.util.List<org.pcap4j.core.PcapPacket> match)
Callback that is invoked by an
AbstractClusterMatcher whenever it detects traffic that matches an element
of its associated cluster. |
void onMatch(AbstractClusterMatcher clusterMatcher, java.util.List<org.pcap4j.core.PcapPacket> match)
AbstractClusterMatcher
whenever it detects traffic that matches an element
of its associated cluster.clusterMatcher
- The AbstractClusterMatcher
that detected a match (i.e., classified traffic as
pertaining to its associated cluster).match
- The traffic that was deemed to match the cluster associated with clusterMatcher
.