public abstract class AbstractPollingNotifier<T extends Notification> extends AbstractNotifier<T>
executor, notifySystem| Modifier and Type | Method and Description |
|---|---|
void |
unregisterAllListeners()
Remove all listeners for a given type.
|
void |
unregisterListener(Listener<T> listener)
Remove a listener.
|
registerListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTypepublic void unregisterListener(Listener<T> listener)
ObservableunregisterListener in interface Observable<T extends Notification>unregisterListener in class AbstractNotifier<T extends Notification>listener - the listener which needs to be removed.public void unregisterAllListeners()
ObservableunregisterAllListeners in interface Observable<T extends Notification>unregisterAllListeners in class AbstractNotifier<T extends Notification>