- All Known Implementing Classes:
- Anemometer.nullProcessor, Anemometer.peakProcessor
- Enclosing class:
- Anemometer
private static interface Anemometer.IPeakProcessor
Interface for peak processors. The server sends min/max data as the first
two data points when a new remote client connects, which we want to skip
for wind gust data. This interface design allows us to change state after
we get past the first two data points without having to constantly check
state. Once we switch from the null processor to the peak processor, we
never have to check again.