public interface FilteredConsumer
Modifier and Type | Method and Description |
---|---|
void |
endDetection(DetectionKey key)
This method is called to end an existing detection
pre-condition: startDetection has been previously called with the same channelMask/band.
|
void |
startDetection(DetectionKey key)
This method is called when a new detection starts on the given channel and band
|
boolean |
updateDetection(DetectionKey key,
NormalizedDataUnit ndu)
This method is called to append a DetectionEvent to a running detection
pre-condition: startDetection has been called for the given key (channelMask and band)
At least one update will be given per detection.
|
void startDetection(DetectionKey key)
key
- The key associated with the starting detectionboolean updateDetection(DetectionKey key, NormalizedDataUnit ndu)
key
- The key of the detectionndu
- The data for the update.void endDetection(DetectionKey key)
key
- The key associated with the ending detection.