Interface StopBus

    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.refcodes.component.Destroyable

        org.refcodes.component.Destroyable.DestroyAutomaton
      • Nested classes/interfaces inherited from interface org.refcodes.eventbus.DispatchStrategyAccessor

        org.refcodes.eventbus.DispatchStrategyAccessor.DispatchStrategyMutator, org.refcodes.eventbus.DispatchStrategyAccessor.DispatchStrategyProperty
    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default String onStop​(Class<?> aPublisherType, org.refcodes.observer.Observer<StopBusEvent> aObserver)
      Similar to the more generic method EventBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for StopBusEvent instances with the given attributes.
      default String onStop​(Enum<?> aAction, Class<?> aPublisherType, org.refcodes.observer.Observer<StopBusEvent> aObserver)
      Similar to the more generic method EventBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for StopBusEvent instances with the given attributes.
      default String onStop​(Enum<?> aAction, String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType, org.refcodes.observer.Observer<StopBusEvent> aObserver)
      Similar to the more generic method EventBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for StopBusEvent instances with the given attributes.
      default String onStop​(Enum<?> aAction, String aChannel, org.refcodes.observer.Observer<StopBusEvent> aObserver)
      Similar to the more generic method EventBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for StopBusEvent instances with the given attributes.
      default String onStop​(Enum<?> aAction, org.refcodes.observer.Observer<StopBusEvent> aObserver)
      Similar to the more generic method EventBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for StopBusEvent instances with the given attributes.
      default String onStop​(String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType, org.refcodes.observer.Observer<StopBusEvent> aObserver)
      Similar to the more generic method EventBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for StopBusEvent instances with the given attributes.
      default String onStop​(String aChannel, org.refcodes.observer.Observer<StopBusEvent> aObserver)
      Similar to the more generic method EventBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for StopBusEvent instances with the given attributes.
      default String onStop​(org.refcodes.observer.Observer<StopBusEvent> aObserver)
      Similar to the more generic method EventBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for StopBusEvent instances.
      default void publishStop()
      Publishes a stop event with the given attributes.
      default void publishStop​(Class<?> aPublisherType)
      Publishes a stop event with the given attributes.
      default void publishStop​(Class<?> aPublisherType, org.refcodes.eventbus.DispatchStrategy aStrategy)
      Publishes a stop event with the given attributes.
      default void publishStop​(String aChannel)
      Publishes a stop event with the given attributes.
      default void publishStop​(String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType)
      Publishes an event with the provided initialize for the given attributes.
      default void publishStop​(String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType, org.refcodes.eventbus.DispatchStrategy aStrategy)
      Publishes a stop event with the given attributes.
      default void publishStop​(String aChannel, org.refcodes.eventbus.DispatchStrategy aStrategy)
      Publishes a stop event with the given attributes.
      default void publishStop​(org.refcodes.eventbus.DispatchStrategy aStrategy)
      Publishes a stop event with the given attributes.
      default void publishStop​(org.refcodes.mixin.EventMetaData aEventMetaData)
      Publishes a stop event with the given attributes.
      default void publishStop​(org.refcodes.mixin.EventMetaData aEventMetaData, org.refcodes.eventbus.DispatchStrategy aStrategy)
      Publishes a stop event with the given attributes.
      • Methods inherited from interface org.refcodes.component.Destroyable

        destroy
      • Methods inherited from interface org.refcodes.eventbus.DispatchStrategyAccessor

        getDispatchStrategy
      • Methods inherited from interface org.refcodes.eventbus.EventBusObservable

        subscribe, subscribe, subscribe, unsubscribeAll
      • Methods inherited from interface org.refcodes.observer.EventMatcher

        isMatching
      • Methods inherited from interface org.refcodes.eventbus.GenericEventBus

        onAction, onAction, onActions, onActions, onAlias, onAlias, onCatchAll, onChannel, onChannel, onEvent, onEvent, onEvent, onEvent, onEvent, onEvent, onEvent, onEvent, onEvent, onEvent, onEvent, onEvent, onEvent, onEvent, onGroup, onGroup, onType, onUniversalId, onUniversalId, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent
      • Methods inherited from interface org.refcodes.component.HandleLookup

        hasHandle, lookupHandle, removeHandle
    • Method Detail

      • publishStop

        default void publishStop​(Class<?> aPublisherType)
        Publishes a stop event with the given attributes. This method uses the DispatchStrategy.CASCADE to make sure your publishing thread synchronizes till all observers have been notified, though your publishing thread is not blocked upon event publishing of the observers (also using the default DispatchStrategy.CASCADE) themselves.
        Parameters:
        aPublisherType - The type of the event publisher.
      • publishStop

        default void publishStop​(String aChannel)
        Publishes a stop event with the given attributes. This method uses the DispatchStrategy.CASCADE to make sure your publishing thread synchronizes till all observers have been notified, though your publishing thread is not blocked upon event publishing of the observers (also using the default DispatchStrategy.CASCADE) themselves.
        Parameters:
        aChannel - The channel name on which the event is receivable.
      • publishStop

        default void publishStop​(String aAlias,
                                 String aGroup,
                                 String aChannel,
                                 String aUid,
                                 Class<?> aPublisherType)
        Publishes an event with the provided initialize for the given attributes. This method uses the DispatchStrategy.CASCADE to make sure your publishing thread synchronizes till all observers have been notified, though your publishing thread is not blocked upon event publishing of the observers (also using the default DispatchStrategy.CASCADE) themselves.
        Parameters:
        aAlias - The alias property.
        aGroup - The group property.
        aChannel - The channel property.
        aUid - The UID (Universal-TID) property.
        aPublisherType - The type of the event publisher.
      • publishStop

        default void publishStop​(org.refcodes.mixin.EventMetaData aEventMetaData)
        Publishes a stop event with the given attributes. This method uses the DispatchStrategy.CASCADE to make sure your publishing thread synchronizes till all observers have been notified, though your publishing thread is not blocked upon event publishing of the observers (also using the default DispatchStrategy.CASCADE) themselves.
        Parameters:
        aEventMetaData - The Meta-Data to by supplied by the event.
      • publishStop

        default void publishStop()
        Publishes a stop event with the given attributes. This method uses the DispatchStrategy.CASCADE to make sure your publishing thread synchronizes till all observers have been notified, though your publishing thread is not blocked upon event publishing of the observers (also using the default DispatchStrategy.CASCADE) themselves.
      • publishStop

        default void publishStop​(Class<?> aPublisherType,
                                 org.refcodes.eventbus.DispatchStrategy aStrategy)
        Publishes a stop event with the given attributes.
        Parameters:
        aPublisherType - The type of the event publisher.
        aStrategy - The DispatchStrategy to use when dispatching the event.
      • publishStop

        default void publishStop​(String aChannel,
                                 org.refcodes.eventbus.DispatchStrategy aStrategy)
        Publishes a stop event with the given attributes.
        Parameters:
        aChannel - The channel name on which the event is receivable.
        aStrategy - The DispatchStrategy to use when dispatching the event.
      • publishStop

        default void publishStop​(String aAlias,
                                 String aGroup,
                                 String aChannel,
                                 String aUid,
                                 Class<?> aPublisherType,
                                 org.refcodes.eventbus.DispatchStrategy aStrategy)
        Publishes a stop event with the given attributes.
        Parameters:
        aAlias - The alias property.
        aGroup - The group property.
        aChannel - The channel property.
        aUid - The UID (Universal-TID) property.
        aPublisherType - The type of the event publisher.
        aStrategy - The DispatchStrategy to use when dispatching the event.
      • publishStop

        default void publishStop​(org.refcodes.mixin.EventMetaData aEventMetaData,
                                 org.refcodes.eventbus.DispatchStrategy aStrategy)
        Publishes a stop event with the given attributes.
        Parameters:
        aEventMetaData - The Meta-Data to by supplied by the event.
        aStrategy - The DispatchStrategy to use when dispatching the event.
      • publishStop

        default void publishStop​(org.refcodes.eventbus.DispatchStrategy aStrategy)
        Publishes a stop event with the given attributes.
        Parameters:
        aStrategy - The DispatchStrategy to use when dispatching the event.
      • onStop

        default String onStop​(org.refcodes.observer.Observer<StopBusEvent> aObserver)
        Similar to the more generic method EventBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for StopBusEvent instances.
        Parameters:
        aObserver - The observer to be notified.
        Returns:
        A handle to unsubscribe this combination.
      • onStop

        default String onStop​(Class<?> aPublisherType,
                              org.refcodes.observer.Observer<StopBusEvent> aObserver)
        Similar to the more generic method EventBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for StopBusEvent instances with the given attributes.
        Parameters:
        aPublisherType - The type of the event publisher.
        aObserver - The observer to be notified.
        Returns:
        A handle to unsubscribe this combination.
      • onStop

        default String onStop​(String aChannel,
                              org.refcodes.observer.Observer<StopBusEvent> aObserver)
        Similar to the more generic method EventBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for StopBusEvent instances with the given attributes.
        Parameters:
        aChannel - The channel name on which the event is receivable.
        aObserver - The observer to be notified.
        Returns:
        A handle to unsubscribe this combination.
      • onStop

        default String onStop​(String aAlias,
                              String aGroup,
                              String aChannel,
                              String aUid,
                              Class<?> aPublisherType,
                              org.refcodes.observer.Observer<StopBusEvent> aObserver)
        Similar to the more generic method EventBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for StopBusEvent instances with the given attributes.
        Parameters:
        aAlias - The alias property.
        aGroup - The group property.
        aChannel - The channel property.
        aUid - The UID (Universal-TID) property.
        aPublisherType - The type of the event publisher.
        aObserver - The observer to be notified.
        Returns:
        A handle to unsubscribe this combination.
      • onStop

        default String onStop​(Enum<?> aAction,
                              Class<?> aPublisherType,
                              org.refcodes.observer.Observer<StopBusEvent> aObserver)
        Similar to the more generic method EventBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for StopBusEvent instances with the given attributes.
        Parameters:
        aAction - The action property.
        aPublisherType - The type of the event publisher.
        aObserver - The observer to be notified.
        Returns:
        A handle to unsubscribe this combination.
      • onStop

        default String onStop​(Enum<?> aAction,
                              String aChannel,
                              org.refcodes.observer.Observer<StopBusEvent> aObserver)
        Similar to the more generic method EventBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for StopBusEvent instances with the given attributes.
        Parameters:
        aAction - The action property.
        aChannel - The channel name on which the event is receivable.
        aObserver - The observer to be notified.
        Returns:
        A handle to unsubscribe this combination.
      • onStop

        default String onStop​(Enum<?> aAction,
                              String aAlias,
                              String aGroup,
                              String aChannel,
                              String aUid,
                              Class<?> aPublisherType,
                              org.refcodes.observer.Observer<StopBusEvent> aObserver)
        Similar to the more generic method EventBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for StopBusEvent instances with the given attributes.
        Parameters:
        aAction - The action property.
        aAlias - The alias property.
        aGroup - The group property.
        aChannel - The channel property.
        aUid - The UID (Universal-TID) property.
        aPublisherType - The type of the event publisher.
        aObserver - The observer to be notified.
        Returns:
        A handle to unsubscribe this combination.
      • onStop

        default String onStop​(Enum<?> aAction,
                              org.refcodes.observer.Observer<StopBusEvent> aObserver)
        Similar to the more generic method EventBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for StopBusEvent instances with the given attributes. Your Observable may be of the required type!
        Parameters:
        aAction - The action property.
        aObserver - The observer to be notified.
        Returns:
        A handle to unsubscribe this combination.