| Constructor and Description |
|---|
EventBusSyncImpl()
See
EventBus.EventBus(). |
EventBusSyncImpl(String eventBusId)
See
EventBus.EventBus(String). |
EventBusSyncImpl(com.google.common.eventbus.SubscriberExceptionHandler exceptionHandler)
See
EventBus.EventBus(SubscriberExceptionHandler). |
| Modifier and Type | Method and Description |
|---|---|
protected com.google.common.eventbus.EventBus |
getEventBus() |
<E extends Event> |
publish(E event)
Publishes an event to the event bus.
|
void |
subscribe(Object object)
Subscribes to events published by this event bus.
|
void |
unsubscribe(Object object)
Unsubscribes to events published by this event bus.
|
public EventBusSyncImpl()
EventBus.EventBus().public EventBusSyncImpl(String eventBusId)
EventBus.EventBus(String).public EventBusSyncImpl(com.google.common.eventbus.SubscriberExceptionHandler exceptionHandler)
EventBus.EventBus(SubscriberExceptionHandler).protected com.google.common.eventbus.EventBus getEventBus()
public <E extends Event> void publish(E event)
public void subscribe(Object object)
public void unsubscribe(Object object)
unsubscribe in interface EventBusCopyright © 2016–2017. All rights reserved.