Uses of Interface
org.refcodes.eventbus.BusEvent
-
-
Uses of BusEvent in org.refcodes.eventbus
Subinterfaces of BusEvent in org.refcodes.eventbus Modifier and Type Interface Description static interface
BusEvent.BusEventBuilder
Intuitive Meta-Interface for theBusEvent.BusEventBuilder
as used by theEventBus
.Classes in org.refcodes.eventbus that implement BusEvent Modifier and Type Class Description class
BusEventBuilderImpl
Intuitive Meta-Class for theActionMetaDataEventBuilderImpl
as used by theEventBus
.class
BusEventImpl
Intuitive Meta-Class for theActionMetaDataEventImpl
as used by theEventBus
.Methods in org.refcodes.eventbus with type parameters of type BusEvent Modifier and Type Method Description static <E extends BusEvent,A>
BusMatcherBusMatcherSugar. actionEqualWith(A aAction)
Factory method to create an "EQUAL WITH" matcher for the given action compared with the action stored in theEventMetaData
.default <EVT extends BusEvent>
StringEventBus. onAction(Class<EVT> aEventType, Enum<?> aAction, org.refcodes.observer.Observer<EVT> aObserver)
Similar to the more generic methodGenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events for the given action.default <EVT extends BusEvent>
StringEventBus. onActions(Class<EVT> aEventType, org.refcodes.observer.Observer<EVT> aObserver, Enum<?>... aActions)
Similar to the more generic methodGenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events for the given action.default <EVT extends BusEvent>
StringEventBus. onAlias(Class<EVT> aEventType, String aName, org.refcodes.observer.Observer<EVT> aObserver)
Similar to the more generic methodGenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events with the given name.default <EVT extends BusEvent>
StringEventBus. onChannel(Class<EVT> aEventType, String aChannel, org.refcodes.observer.Observer<EVT> aObserver)
Similar to the more generic methodGenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events for the given channel.default <EVT extends BusEvent>
StringEventBus. onEvent(Class<EVT> aEventType, Class<?> aPublisherType, org.refcodes.observer.Observer<EVT> aObserver)
Similar to the more generic methodGenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events with the given attributes.default <EVT extends BusEvent>
StringEventBus. onEvent(Class<EVT> aEventType, Enum<?> aAction, Class<?> aPublisherType, org.refcodes.observer.Observer<EVT> aObserver)
Similar to the more generic methodGenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events with the given attributes.default <EVT extends BusEvent>
StringEventBus. onEvent(Class<EVT> aEventType, Enum<?> aAction, String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType, org.refcodes.observer.Observer<EVT> aObserver)
Similar to the more generic methodGenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events with the given attributes.default <EVT extends BusEvent>
StringEventBus. onEvent(Class<EVT> aEventType, Enum<?> aAction, String aChannel, org.refcodes.observer.Observer<EVT> aObserver)
Similar to the more generic methodGenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events with the given attributes.default <EVT extends BusEvent>
StringEventBus. onEvent(Class<EVT> aEventType, Enum<?> aAction, org.refcodes.observer.Observer<EVT> aObserver)
Similar to the more generic methodGenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events with the given attributes.default <EVT extends BusEvent>
StringEventBus. onEvent(Class<EVT> aEventType, String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType, org.refcodes.observer.Observer<EVT> aObserver)
Similar to the more generic methodGenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events with the given attributes.default <EVT extends BusEvent>
StringEventBus. onEvent(Class<EVT> aEventType, String aChannel, org.refcodes.observer.Observer<EVT> aObserver)
Similar to the more generic methodGenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events with the given attributes.default <EVT extends BusEvent>
StringEventBus. onGroup(Class<EVT> aEventType, String aGroup, org.refcodes.observer.Observer<EVT> aObserver)
Similar to the more generic methodGenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events for the given group.default <EVT extends BusEvent>
StringEventBus. onType(Class<EVT> aEventType, org.refcodes.observer.Observer<EVT> aObserver)
Similar to the more generic methodGenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events of the given type.default <EVT extends BusEvent>
StringEventBus. onUniversalId(Class<EVT> aEventType, String aUid, org.refcodes.observer.Observer<EVT> aObserver)
Similar to the more generic methodGenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events for the given Universal-ID.static <E extends BusEvent,PT>
BusMatcherBusMatcherSugar. publisherIsAssignableFrom(Class<? extends PT> aPublisherType)
Factory method to create an event matcher by event publisher type.default <EVT extends BusEvent>
StringEventBus. subscribe(Class<EVT> aEventType, BusMatcher aEventMatcher, org.refcodes.observer.Observer<EVT> aObserver)
Subscribes a listener to the event bus.default <EVT extends BusEvent>
StringEventBus. subscribe(Class<EVT> aEventType, org.refcodes.observer.Observer<EVT> aObserver)
Subscribes a listener to the event bus.Method parameters in org.refcodes.eventbus with type arguments of type BusEvent Modifier and Type Method Description default String
EventBus. onAction(Enum<?> aAction, org.refcodes.observer.Observer<BusEvent> aObserver)
Similar to the more generic methodGenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events for the given action.default String
EventBus. onActions(org.refcodes.observer.Observer<BusEvent> aObserver, Enum<?>... aActions)
Similar to the more generic methodGenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events for the given action.default String
EventBus. onAlias(String aName, org.refcodes.observer.Observer<BusEvent> aObserver)
Similar to the more generic methodGenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events with the given name.default String
EventBus. onCatchAll(org.refcodes.observer.Observer<BusEvent> aObserver)
Similar to the more generic methodGenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes all events passing the Event-Bus.default String
EventBus. onChannel(String aChannel, org.refcodes.observer.Observer<BusEvent> aObserver)
Similar to the more generic methodGenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events for the given channel.default String
EventBus. onEvent(Class<?> aPublisherType, org.refcodes.observer.Observer<BusEvent> aObserver)
Similar to the more generic methodGenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events with the given attributes.default String
EventBus. onEvent(Enum<?> aAction, Class<?> aPublisherType, org.refcodes.observer.Observer<BusEvent> aObserver)
Similar to the more generic methodGenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events with the given attributes.default String
EventBus. onEvent(Enum<?> aAction, String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType, org.refcodes.observer.Observer<BusEvent> aObserver)
Similar to the more generic methodGenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events with the given attributes.default String
EventBus. onEvent(Enum<?> aAction, String aChannel, org.refcodes.observer.Observer<BusEvent> aObserver)
Similar to the more generic methodGenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events with the given attributes.default String
EventBus. onEvent(Enum<?> aAction, org.refcodes.observer.Observer<BusEvent> aObserver)
Similar to the more generic methodGenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events with the given attributes.default String
EventBus. onEvent(String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType, org.refcodes.observer.Observer<BusEvent> aObserver)
Similar to the more generic methodGenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events with the given attributes.default String
EventBus. onEvent(String aChannel, org.refcodes.observer.Observer<BusEvent> aObserver)
Similar to the more generic methodGenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events with the given attributes.default String
EventBus. onGroup(String aGroup, org.refcodes.observer.Observer<BusEvent> aObserver)
Similar to the more generic methodGenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events for the given group.default String
EventBus. onUniversalId(String aUid, org.refcodes.observer.Observer<BusEvent> aObserver)
Similar to the more generic methodGenericBusObservable.subscribe(EventMatcher, Observer)
THOUGH subscribes for events for the given Universal-ID.
-