public class ListenerNotifier
extends java.lang.Object
notifyListeners(SampleEvent, List) | Constructor and Description |
|---|
ListenerNotifier() |
| Modifier and Type | Method and Description |
|---|---|
void |
notifyListeners(SampleEvent res,
java.util.List<SampleListener> listeners)
Notify a list of listeners that a sample has occurred.
|
public void notifyListeners(SampleEvent res, java.util.List<SampleListener> listeners)
res - the sample event that has occurred. Must be non-null.listeners - a list of the listeners which should be notified. This list
must not be null and must contain only SampleListener
elements.Copyright © 1998-2018 Apache Software Foundation. All Rights Reserved.