public interface Publisher<E extends Event<?>>
ActionEvent instances (such as an event bus), may
implement this interface. An observable (event listener), in case of being of
type Observer, may be notified using the
Observer#onEvent(ActionEvent) method.| Modifier and Type | Method and Description |
|---|---|
void |
publishEvent(E aEvent)
The listener implementing this interface is notified of an event via this
method.
|
void publishEvent(E aEvent)
aEvent - aEvent The event to be pushed from the publisher to the
subscriber.Copyright © 2017. All rights reserved.