Interface Listener<T>
public interface Listener<T>
Part of the observer patter to be implemented by observers listening to the source.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
notifyListener
(Time time, T source) Notifies all listeners of a specific event or hook
-
Method Details
-
notifyListener
Notifies all listeners of a specific event or hook- Parameters:
time
- time-stamp of the call. Can benull
source
- the source object of the call
-