Interface EventBus

    • Method Detail

      • onAlias

        default java.lang.String onAlias​(java.lang.String aName,
                                         org.refcodes.observer.Observer<BusEvent> aObserver)
        Similar to the more generic method GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events with the given name.
        Specified by:
        onAlias in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
        Parameters:
        aName - The name for which to subscribe.
        aObserver - The observer to be notified.
        Returns:
        A handle to unsubscribe this combination.
      • onChannel

        default java.lang.String onChannel​(java.lang.String aChannel,
                                           org.refcodes.observer.Observer<BusEvent> aObserver)
        Similar to the more generic method GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events for the given channel.
        Specified by:
        onChannel in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
        Parameters:
        aChannel - The channel to which to subscribe to.
        aObserver - The observer to be notified.
        Returns:
        A handle to unsubscribe this combination.
      • onGroup

        default java.lang.String onGroup​(java.lang.String aGroup,
                                         org.refcodes.observer.Observer<BusEvent> aObserver)
        Similar to the more generic method GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events for the given group.
        Specified by:
        onGroup in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
        Parameters:
        aGroup - The group to which to subscribe to.
        aObserver - The observer to be notified.
        Returns:
        A handle to unsubscribe this combination.
      • onUniversalId

        default java.lang.String onUniversalId​(java.lang.String aUid,
                                               org.refcodes.observer.Observer<BusEvent> aObserver)
        Similar to the more generic method GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events for the given Universal-ID.
        Specified by:
        onUniversalId in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
        Parameters:
        aUid - The Universal-ID to which to subscribe to.
        aObserver - The observer to be notified.
        Returns:
        A handle to unsubscribe this combination.
      • onAction

        default java.lang.String onAction​(java.lang.Enum<?> aAction,
                                          org.refcodes.observer.Observer<BusEvent> aObserver)
        Similar to the more generic method GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events for the given action.
        Specified by:
        onAction in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
        Parameters:
        aAction - The action to which to subscribe to.
        aObserver - The observer to be notified.
        Returns:
        A handle to unsubscribe this combination.
      • onActions

        default java.lang.String onActions​(org.refcodes.observer.Observer<BusEvent> aObserver,
                                           java.lang.Enum<?>... aActions)
        Similar to the more generic method GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events for the given action.
        Specified by:
        onActions in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
        Parameters:
        aObserver - The observer to be notified.
        aActions - The actions to which to subscribe to.
        Returns:
        A handle to unsubscribe this combination.
      • onEvent

        default java.lang.String onEvent​(java.lang.Class<?> aPublisherType,
                                         org.refcodes.observer.Observer<BusEvent> aObserver)
        Similar to the more generic method GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events with the given attributes.
        Specified by:
        onEvent in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
        Parameters:
        aPublisherType - The type of the event publisher.
        aObserver - The observer to be notified.
        Returns:
        A handle to unsubscribe this combination.
      • onEvent

        default java.lang.String onEvent​(java.lang.String aChannel,
                                         org.refcodes.observer.Observer<BusEvent> aObserver)
        Similar to the more generic method GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events with the given attributes.
        Specified by:
        onEvent in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
        Parameters:
        aChannel - The channel name on which the event is receivable.
        aObserver - The observer to be notified.
        Returns:
        A handle to unsubscribe this combination.
      • onEvent

        default java.lang.String onEvent​(java.lang.String aAlias,
                                         java.lang.String aGroup,
                                         java.lang.String aChannel,
                                         java.lang.String aUid,
                                         java.lang.Class<?> aPublisherType,
                                         org.refcodes.observer.Observer<BusEvent> aObserver)
        Similar to the more generic method GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events with the given attributes.
        Specified by:
        onEvent in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
        Parameters:
        aAlias - The alias property.
        aGroup - The group property.
        aChannel - The channel property.
        aUid - The UID (Universal-ID) property.
        aPublisherType - The type of the event publisher.
        aObserver - The observer to be notified.
        Returns:
        A handle to unsubscribe this combination.
      • onEvent

        default java.lang.String onEvent​(java.lang.Enum<?> aAction,
                                         java.lang.Class<?> aPublisherType,
                                         org.refcodes.observer.Observer<BusEvent> aObserver)
        Similar to the more generic method GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events with the given attributes.
        Specified by:
        onEvent in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
        Parameters:
        aAction - The action which this represents.
        aPublisherType - The type of the event publisher.
        aObserver - The observer to be notified.
        Returns:
        A handle to unsubscribe this combination.
      • onEvent

        default java.lang.String onEvent​(java.lang.Enum<?> aAction,
                                         java.lang.String aChannel,
                                         org.refcodes.observer.Observer<BusEvent> aObserver)
        Similar to the more generic method GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events with the given attributes.
        Specified by:
        onEvent in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
        Parameters:
        aAction - The action which this represents.
        aChannel - The channel name on which the event is receivable.
        aObserver - The observer to be notified.
        Returns:
        A handle to unsubscribe this combination.
      • onEvent

        default java.lang.String onEvent​(java.lang.Enum<?> aAction,
                                         java.lang.String aAlias,
                                         java.lang.String aGroup,
                                         java.lang.String aChannel,
                                         java.lang.String aUid,
                                         java.lang.Class<?> aPublisherType,
                                         org.refcodes.observer.Observer<BusEvent> aObserver)
        Similar to the more generic method GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events with the given attributes.
        Specified by:
        onEvent in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
        Parameters:
        aAction - The action which this represents.
        aAlias - The alias property.
        aGroup - The group property.
        aChannel - The channel property.
        aUid - The UID (Universal-ID) property.
        aPublisherType - The type of the event publisher.
        aObserver - The observer to be notified.
        Returns:
        A handle to unsubscribe this combination.
      • onEvent

        default java.lang.String onEvent​(java.lang.Enum<?> aAction,
                                         org.refcodes.observer.Observer<BusEvent> aObserver)
        Similar to the more generic method GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events with the given attributes. Your Observable may be of the required type!
        Specified by:
        onEvent in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
        Parameters:
        aAction - The action which this represents.
        aObserver - The observer to be notified.
        Returns:
        A handle to unsubscribe this combination.
      • onEvent

        default <EVT extends BusEvent> java.lang.String onEvent​(java.lang.Class<EVT> aEventType,
                                                                java.lang.Class<?> aPublisherType,
                                                                org.refcodes.observer.Observer<EVT> aObserver)
        Similar to the more generic method GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events with the given attributes. Your Observable may be of the required type!
        Specified by:
        onEvent in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
        Type Parameters:
        EVT - The type of the event to subscribe for.
        Parameters:
        aEventType - The event type to subscribe for.
        aPublisherType - The type of the event publisher.
        aObserver - The observer to be notified.
        Returns:
        A handle to unsubscribe this combination.
      • onEvent

        default <EVT extends BusEvent> java.lang.String onEvent​(java.lang.Class<EVT> aEventType,
                                                                java.lang.String aChannel,
                                                                org.refcodes.observer.Observer<EVT> aObserver)
        Similar to the more generic method GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events with the given attributes. Your Observable may be of the required type!
        Specified by:
        onEvent in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
        Type Parameters:
        EVT - The type of the event to subscribe for.
        Parameters:
        aEventType - The event type to subscribe for.
        aChannel - The channel name on which the event is receivable.
        aObserver - The observer to be notified.
        Returns:
        A handle to unsubscribe this combination.
      • onEvent

        default <EVT extends BusEvent> java.lang.String onEvent​(java.lang.Class<EVT> aEventType,
                                                                java.lang.String aAlias,
                                                                java.lang.String aGroup,
                                                                java.lang.String aChannel,
                                                                java.lang.String aUid,
                                                                java.lang.Class<?> aPublisherType,
                                                                org.refcodes.observer.Observer<EVT> aObserver)
        Similar to the more generic method GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events with the given attributes. Your Observable may be of the required type!
        Specified by:
        onEvent in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
        Type Parameters:
        EVT - The type of the event to subscribe for.
        Parameters:
        aEventType - The event type to subscribe for.
        aAlias - The alias property.
        aGroup - The group property.
        aChannel - The channel property.
        aUid - The UID (Universal-ID) property.
        aPublisherType - The type of the event publisher.
        aObserver - The observer to be notified.
        Returns:
        A handle to unsubscribe this combination.
      • onEvent

        default <EVT extends BusEvent> java.lang.String onEvent​(java.lang.Class<EVT> aEventType,
                                                                java.lang.Enum<?> aAction,
                                                                java.lang.Class<?> aPublisherType,
                                                                org.refcodes.observer.Observer<EVT> aObserver)
        Similar to the more generic method GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events with the given attributes. Your Observable may be of the required type!
        Specified by:
        onEvent in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
        Type Parameters:
        EVT - The type of the event to subscribe for.
        Parameters:
        aEventType - The event type to subscribe for.
        aAction - The action which this represents.
        aPublisherType - The type of the event publisher.
        aObserver - The observer to be notified.
        Returns:
        A handle to unsubscribe this combination.
      • onEvent

        default <EVT extends BusEvent> java.lang.String onEvent​(java.lang.Class<EVT> aEventType,
                                                                java.lang.Enum<?> aAction,
                                                                java.lang.String aChannel,
                                                                org.refcodes.observer.Observer<EVT> aObserver)
        Similar to the more generic method GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events with the given attributes. Your Observable may be of the required type!
        Specified by:
        onEvent in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
        Type Parameters:
        EVT - The type of the event to subscribe for.
        Parameters:
        aEventType - The event type to subscribe for.
        aAction - The action which this represents.
        aChannel - The channel name on which the event is receivable.
        aObserver - The observer to be notified.
        Returns:
        A handle to unsubscribe this combination.
      • onEvent

        default <EVT extends BusEvent> java.lang.String onEvent​(java.lang.Class<EVT> aEventType,
                                                                java.lang.Enum<?> aAction,
                                                                java.lang.String aAlias,
                                                                java.lang.String aGroup,
                                                                java.lang.String aChannel,
                                                                java.lang.String aUid,
                                                                java.lang.Class<?> aPublisherType,
                                                                org.refcodes.observer.Observer<EVT> aObserver)
        Similar to the more generic method GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events with the given attributes. Your Observable may be of the required type!
        Specified by:
        onEvent in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
        Type Parameters:
        EVT - The type of the event to subscribe for.
        Parameters:
        aEventType - The event type to subscribe for.
        aAction - The action which this represents.
        aAlias - The alias property.
        aGroup - The group property.
        aChannel - The channel property.
        aUid - The UID (Universal-ID) property.
        aPublisherType - The type of the event publisher.
        aObserver - The observer to be notified.
        Returns:
        A handle to unsubscribe this combination.
      • onEvent

        default <EVT extends BusEvent> java.lang.String onEvent​(java.lang.Class<EVT> aEventType,
                                                                java.lang.Enum<?> aAction,
                                                                org.refcodes.observer.Observer<EVT> aObserver)
        Similar to the more generic method GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events with the given attributes. Your Observable may be of the required type!
        Specified by:
        onEvent in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
        Type Parameters:
        EVT - The type of the event to subscribe for.
        Parameters:
        aEventType - The event type to subscribe for.
        aAction - The action which this represents.
        aObserver - The observer to be notified.
        Returns:
        A handle to unsubscribe this combination.
      • subscribe

        default <EVT extends BusEvent> java.lang.String subscribe​(java.lang.Class<EVT> aEventType,
                                                                  BusMatcher aEventMatcher,
                                                                  org.refcodes.observer.Observer<EVT> aObserver)
        Subscribes a listener to the event bus. In case the handle is being ignored, use the "unsubscribeAll" method where all subscriptions for a listener are removed.
        Specified by:
        subscribe in interface GenericBusObservable<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,org.refcodes.observer.EventMetaData>
        Type Parameters:
        EVT - The type of the event to subscribe for.
        Parameters:
        aEventType - The type of event to observe.
        aEventMatcher - The EventMatcher to guard the Observer.
        aObserver - The Observer to subscribe.
        Returns:
        A handle to unsubscribe this combination.
      • subscribe

        default <EVT extends BusEvent> java.lang.String subscribe​(java.lang.Class<EVT> aEventType,
                                                                  org.refcodes.observer.Observer<EVT> aObserver)
        Subscribes a listener to the event bus. In case the handle is being ignored, use the "unsubscribeAll" method where all subscriptions for a listener are removed.
        Specified by:
        subscribe in interface GenericBusObservable<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,org.refcodes.observer.EventMetaData>
        Type Parameters:
        EVT - The type of the event to subscribe for.
        Parameters:
        aEventType - The type of event to observe.
        aObserver - The Observer to subscribe.
        Returns:
        A handle to unsubscribe this combination.
      • onType

        default <EVT extends BusEvent> java.lang.String onType​(java.lang.Class<EVT> aEventType,
                                                               org.refcodes.observer.Observer<EVT> aObserver)
        Similar to the more generic method GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events of the given type. Your Observable may be of the required type!
        Specified by:
        onType in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
        Type Parameters:
        EVT - The type of the event to subscribe for.
        Parameters:
        aEventType - The event type to subscribe for.
        aObserver - The observer to be notified.
        Returns:
        A handle to unsubscribe this combination.
      • onAlias

        default <EVT extends BusEvent> java.lang.String onAlias​(java.lang.Class<EVT> aEventType,
                                                                java.lang.String aName,
                                                                org.refcodes.observer.Observer<EVT> aObserver)
        Similar to the more generic method GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events with the given name.
        Specified by:
        onAlias in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
        Type Parameters:
        EVT - The type of the event to subscribe for.
        Parameters:
        aEventType - The event type to subscribe for.
        aName - The name for which to subscribe.
        aObserver - The observer to be notified.
        Returns:
        A handle to unsubscribe this combination.
      • onChannel

        default <EVT extends BusEvent> java.lang.String onChannel​(java.lang.Class<EVT> aEventType,
                                                                  java.lang.String aChannel,
                                                                  org.refcodes.observer.Observer<EVT> aObserver)
        Similar to the more generic method GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events for the given channel.
        Specified by:
        onChannel in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
        Type Parameters:
        EVT - The type of the event to subscribe for.
        Parameters:
        aEventType - The event type to subscribe for.
        aChannel - The channel to which to subscribe to.
        aObserver - The observer to be notified.
        Returns:
        A handle to unsubscribe this combination.
      • onGroup

        default <EVT extends BusEvent> java.lang.String onGroup​(java.lang.Class<EVT> aEventType,
                                                                java.lang.String aGroup,
                                                                org.refcodes.observer.Observer<EVT> aObserver)
        Similar to the more generic method GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events for the given group.
        Specified by:
        onGroup in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
        Type Parameters:
        EVT - The type of the event to subscribe for.
        Parameters:
        aEventType - The event type to subscribe for.
        aGroup - The group to which to subscribe to.
        aObserver - The observer to be notified.
        Returns:
        A handle to unsubscribe this combination.
      • onUniversalId

        default <EVT extends BusEvent> java.lang.String onUniversalId​(java.lang.Class<EVT> aEventType,
                                                                      java.lang.String aUid,
                                                                      org.refcodes.observer.Observer<EVT> aObserver)
        Similar to the more generic method GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events for the given Universal-ID.
        Specified by:
        onUniversalId in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
        Type Parameters:
        EVT - The type of the event to subscribe for.
        Parameters:
        aEventType - The event type to subscribe for.
        aUid - The Universal-ID to which to subscribe to.
        aObserver - The observer to be notified.
        Returns:
        A handle to unsubscribe this combination.
      • onAction

        default <EVT extends BusEvent> java.lang.String onAction​(java.lang.Class<EVT> aEventType,
                                                                 java.lang.Enum<?> aAction,
                                                                 org.refcodes.observer.Observer<EVT> aObserver)
        Similar to the more generic method GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events for the given action.
        Specified by:
        onAction in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
        Type Parameters:
        EVT - The type of the event to subscribe for.
        Parameters:
        aEventType - The event type to subscribe for.
        aAction - The action to which to subscribe to.
        aObserver - The observer to be notified.
        Returns:
        A handle to unsubscribe this combination.
      • onActions

        default <EVT extends BusEvent> java.lang.String onActions​(java.lang.Class<EVT> aEventType,
                                                                  org.refcodes.observer.Observer<EVT> aObserver,
                                                                  java.lang.Enum<?>... aActions)
        Similar to the more generic method GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for events for the given action.
        Specified by:
        onActions in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
        Type Parameters:
        EVT - The type of the event to subscribe for.
        Parameters:
        aEventType - The event type to subscribe for.
        aObserver - The observer to be notified.
        aActions - The actions to which to subscribe to.
        Returns:
        A handle to unsubscribe this combination.
      • publishEvent

        default void publishEvent​(java.lang.Class<?> aPublisherType)
        Fires an event with the according properties.
        Specified by:
        publishEvent in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
        Parameters:
        aPublisherType - The type of the event publisher.
      • publishEvent

        default void publishEvent​(java.lang.String aChannel)
        Fires an event with the according properties.
        Specified by:
        publishEvent in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
        Parameters:
        aChannel - The channel name on which the event is receivable.
      • publishEvent

        default void publishEvent​(java.lang.String aAlias,
                                  java.lang.String aGroup,
                                  java.lang.String aChannel,
                                  java.lang.String aUid,
                                  java.lang.Class<?> aPublisherType)
        Fires an event with the according properties.
        Specified by:
        publishEvent in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
        Parameters:
        aAlias - The alias property.
        aGroup - The group property.
        aChannel - The channel property.
        aUid - The UID (Universal-ID) property.
        aPublisherType - The type of the event publisher.
      • publishEvent

        default void publishEvent​(java.lang.Enum<?> aAction,
                                  java.lang.Class<?> aPublisherType)
        Fires an event with the according properties.
        Specified by:
        publishEvent in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
        Parameters:
        aAction - The action which this represents.
        aPublisherType - The type of the event publisher.
      • publishEvent

        default void publishEvent​(java.lang.Enum<?> aAction,
                                  java.lang.String aChannel)
        Fires an event with the according properties.
        Specified by:
        publishEvent in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
        Parameters:
        aAction - The action which this represents.
        aChannel - The channel name on which the event is receivable.
      • publishEvent

        default void publishEvent​(java.lang.Enum<?> aAction,
                                  java.lang.String aAlias,
                                  java.lang.String aGroup,
                                  java.lang.String aChannel,
                                  java.lang.String aUid,
                                  java.lang.Class<?> aPublisherType)
        Fires an event with the according properties.
        Specified by:
        publishEvent in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
        Parameters:
        aAction - The action which this represents.
        aAlias - The alias property.
        aGroup - The group property.
        aChannel - The channel property.
        aUid - The UID (Universal-ID) property.
        aPublisherType - The type of the event publisher.
      • publishEvent

        default void publishEvent​(org.refcodes.observer.EventMetaData aEventMetaData)
        Fires an event with the according properties.
        Specified by:
        publishEvent in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
        Parameters:
        aEventMetaData - The Meta-Data to be supplied by the event.
      • publishEvent

        default void publishEvent​(java.lang.Enum<?> aAction,
                                  org.refcodes.observer.EventMetaData aEventMetaData)
        Fires an event with the according properties.
        Specified by:
        publishEvent in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
        Parameters:
        aAction - The action which this represents.
        aEventMetaData - The Meta-Data to be supplied by the event.
      • publishEvent

        default void publishEvent​(java.lang.Enum<?> aAction)
        Fires an event with the according properties.
        Specified by:
        publishEvent in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
        Parameters:
        aAction - The action which this represents.
      • publishEvent

        default void publishEvent​(java.lang.Class<?> aPublisherType,
                                  DispatchStrategy aStrategy)
        Fires an event with the according properties.
        Specified by:
        publishEvent in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
        Parameters:
        aPublisherType - The type of the event publisher.
        aStrategy - The DispatchStrategy to use when dispatching the event.
      • publishEvent

        default void publishEvent​(java.lang.String aChannel,
                                  DispatchStrategy aStrategy)
        Fires an event with the according properties.
        Specified by:
        publishEvent in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
        Parameters:
        aChannel - The channel name on which the event is receivable.
        aStrategy - The DispatchStrategy to use when dispatching the event.
      • publishEvent

        default void publishEvent​(java.lang.String aAlias,
                                  java.lang.String aGroup,
                                  java.lang.String aChannel,
                                  java.lang.String aUid,
                                  java.lang.Class<?> aPublisherType,
                                  DispatchStrategy aStrategy)
        Fires an event with the according properties.
        Specified by:
        publishEvent in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
        Parameters:
        aAlias - The alias property.
        aGroup - The group property.
        aChannel - The channel property.
        aUid - The UID (Universal-ID) property.
        aPublisherType - The type of the event publisher.
        aStrategy - The DispatchStrategy to use when dispatching the event.
      • publishEvent

        default void publishEvent​(java.lang.Enum<?> aAction,
                                  java.lang.Class<?> aPublisherType,
                                  DispatchStrategy aStrategy)
        Fires an event with the according properties.
        Specified by:
        publishEvent in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
        Parameters:
        aAction - The action which this represents.
        aPublisherType - The type of the event publisher.
        aStrategy - The DispatchStrategy to use when dispatching the event.
      • publishEvent

        default void publishEvent​(java.lang.Enum<?> aAction,
                                  java.lang.String aChannel,
                                  DispatchStrategy aStrategy)
        Fires an event with the according properties.
        Specified by:
        publishEvent in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
        Parameters:
        aAction - The action which this represents.
        aChannel - The channel name on which the event is receivable.
        aStrategy - The DispatchStrategy to use when dispatching the event.
      • publishEvent

        default void publishEvent​(java.lang.Enum<?> aAction,
                                  java.lang.String aAlias,
                                  java.lang.String aGroup,
                                  java.lang.String aChannel,
                                  java.lang.String aUid,
                                  java.lang.Class<?> aPublisherType,
                                  DispatchStrategy aStrategy)
        Fires an event with the according properties.
        Specified by:
        publishEvent in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
        Parameters:
        aAction - The action which this represents.
        aAlias - The alias property.
        aGroup - The group property.
        aChannel - The channel property.
        aUid - The UID (Universal-ID) property.
        aPublisherType - The type of the event publisher.
        aStrategy - The DispatchStrategy to use when dispatching the event.
      • publishEvent

        default void publishEvent​(org.refcodes.observer.EventMetaData aEventMetaData,
                                  DispatchStrategy aStrategy)
        Fires an event with the according properties.
        Specified by:
        publishEvent in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
        Parameters:
        aEventMetaData - The Meta-Data to be supplied by the event.
        aStrategy - The DispatchStrategy to use when dispatching the event.
      • publishEvent

        default void publishEvent​(java.lang.Enum<?> aAction,
                                  org.refcodes.observer.EventMetaData aEventMetaData,
                                  DispatchStrategy aStrategy)
        Fires an event with the according properties.
        Specified by:
        publishEvent in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
        Parameters:
        aAction - The action which this represents.
        aEventMetaData - The Meta-Data to be supplied by the event.
        aStrategy - The DispatchStrategy to use when dispatching the event.
      • publishEvent

        default void publishEvent​(java.lang.Enum<?> aAction,
                                  DispatchStrategy aStrategy)
        Fires an event with the according properties.
        Specified by:
        publishEvent in interface GenericEventBus<BusEvent,org.refcodes.observer.Observer<BusEvent>,BusMatcher,org.refcodes.observer.EventMetaData,java.lang.String>
        Parameters:
        aAction - The action which this represents.
        aStrategy - The DispatchStrategy to use when dispatching the event.