public interface EventManager
Modifier and Type | Method and Description |
---|---|
void |
post(java.lang.Object event)
Post an event on the EventBus, so that subscribers for that event can
be notified.
|
void |
registerForEvents(java.lang.Object obj)
Register the specified object to receive events.
|
void |
unregisterForEvents(java.lang.Object obj)
Un-register the provided object from the EventBus, so that it will no
longer receive event notifications.
|
void registerForEvents(java.lang.Object obj)
obj
- The object that should be subscribed to receive event
notifications.void unregisterForEvents(java.lang.Object obj)
obj
- The object that should no longer receive event notifications.void post(java.lang.Object event)
event
- The event object to be posted.