public interface EventCreator
EventBus.publishIffNotDead(EventCreator, Class[]) was called for this creator.| Modifier and Type | Method and Description |
|---|---|
java.util.List<?> |
createEvent(java.util.Set<java.lang.Class<?>> liveEventTypes)
A callback when the event bus determines that there is atleast one listener for any of the passed event types to
the corresponding
EventBus.publishIffNotDead(EventCreator, Class[]) call. |
java.util.List<?> createEvent(java.util.Set<java.lang.Class<?>> liveEventTypes)
EventBus.publishIffNotDead(EventCreator, Class[]) call. liveEventTypes - A subset of event types passed to the corresponding EventBus.publishIffNotDead(EventCreator, Class[])
call which have atleast one listener to receive the event. Events created only for these
event types will be published by the event bus.null if no events are created.