Package org.rspeer.event
Class EventDispatcher
- java.lang.Object
-
- org.rspeer.event.EventDispatcher
-
public class EventDispatcher extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EventDispatcher.Factory
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
forward(Event event)
Consumer<Throwable>
getHandler()
Set<Subscription>
getSubscriptions()
boolean
isSubscribed(Object instance)
void
subscribe(Object instance)
String
toString()
void
unsubscribe(Object instance)
-