E - the element typepublic interface Publisher<E extends GenericEvent<?>>
GenericActionEvent 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(GenericEvent) 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 © 2018. All rights reserved.