Package xal.tools.correlator
Interface CorrelationNotice<T>
public interface CorrelationNotice<T>
CorrelationNotice is the interface used in notifying listeners that a new
correlation has been found or no correlation has been caught due to a
timeout.
- Author:
- tap
-
Method Summary
Modifier and TypeMethodDescriptionvoid
newCorrelation
(Object sender, Correlation<T> correlation) Handle the correlation event.void
noCorrelationCaught
(Object sender) Handle the no correlation event.
-
Method Details
-
newCorrelation
Handle the correlation event. This method gets called when a correlation was posted.- Parameters:
sender
- The poster of the correlation event.correlation
- The correlation that was posted.
-
noCorrelationCaught
Handle the no correlation event. This method gets called when no correlation was found within some prescribed time period.- Parameters:
sender
- The poster of the "no correlation" event.
-