public class EventSystem
extends Object
-
-
Constructor Summary
Constructors
-
Method Summary
<T> void
<T> void
on(Class<T> eventType,
org.reactivestreams.Subscriber<T> handler)
<T> T
<T> reactor.core.publisher.Sinks.Many<Object>
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Details
-
EventSystem
public EventSystem()
-
EventSystem
public EventSystem(boolean autoRegister)
-
Method Details
-
register
public <T>
reactor.core.publisher.Sinks.Many<Object> register(Class<T> eventType)
-
publish
public <T> T publish(T event)
-
-
on
public <T> void on(Class<T> eventType,
org.reactivestreams.Subscriber<T> handler)