Interface Publisher<E extends GenericEvent<?>>

    • Method Detail

      • publishEvent

        void publishEvent​(E aEvent)
        The listener implementing this interface is notified of an event via this method. The publisher pushes the event to the subscriber. When this method exits, then all listeners have been notified with the given event. I.e. even if each event is dispatched in an own thread, then the longest running thread determines when this method finishes.
        aEvent - aEvent The event to be pushed from the publisher to the subscriber.