public class MultiEventBus extends DefaultEventBus
EventBus
. It collects all events from all
registered EventBuses.handlers, log, throwingExceptionOn
Constructor and Description |
---|
MultiEventBus() |
Modifier and Type | Method and Description |
---|---|
void |
addEventBus(EventBus eventBus)
Adds
EventBus to collector. |
void |
removeEventBus(EventBus eventBus)
Removes
EventBus from collector. |
addHandler, addListener, addListener, createHandlersArray, createMainHandlersMap, createTypeHandlersMap, doAdd, doFire, doFire, fire, getHandlersList, isThrowingExceptionOn, remove, remove, setThrowingExceptionOn
public void addEventBus(EventBus eventBus)
EventBus
to collector. All events from this EventBus
will be dispatched to handlers registered in this MultiEventBus
instance.eventBus
- EventBus
to register.Copyright © 2006–2018 Tigase. All rights reserved.