Package reactor.bus
Interface Bus<T>
-
@Deprecated public interface Bus<T>Deprecated.Here for compatibility only. Do not use directlyBasic unit of event handling in Reactor.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Busnotify(java.lang.Object key, T ev)Deprecated.Notify this component that anEventis ready to be processed.<V extends T>
reactor.bus.registry.Subscription<java.lang.Object,Consumer<? extends T>>on(Selector selector, Consumer<V> consumer)Deprecated.booleanrespondsToKey(java.lang.Object key)Deprecated.
-
-
-
Method Detail
-
respondsToKey
boolean respondsToKey(java.lang.Object key)
Deprecated.- Parameters:
key- The key to be matched bySelectors- Returns:
- true if there are any matching Subscriptions, false otherwise
-
on
<V extends T> reactor.bus.registry.Subscription<java.lang.Object,Consumer<? extends T>> on(Selector selector, Consumer<V> consumer)
Deprecated.- Parameters:
selector- The Selector to be used for matchingconsumer- The Consumer to be triggered- Returns:
- A
Subscriptionobject that allows the caller to interact with the given mapping
-
-