Example usage for Java com.google.common.eventbus EventBus fields, constructors, methods, implement or subclass
The text is from its open source code.
EventBus() Creates a new EventBus named "default". | |
EventBus(String identifier) Creates a new EventBus with the given identifier . | |
EventBus(SubscriberExceptionHandler exceptionHandler) Creates a new EventBus with the given SubscriberExceptionHandler . |
boolean | equals(Object obj) Indicates whether some other object is "equal to" this one. |
void | post(Object event) Posts an event to all registered subscribers. |
void | register(Object object) Registers all subscriber methods on object to receive events. |
void | unregister(Object object) Unregisters all subscriber methods on a registered object . |