| Package | Description |
|---|---|
| org.openstreetmap.josm.eventbus |
The EventBus allows publish-subscribe-style communication between components without requiring
the components to explicitly register with one another (and thus be aware of each other).
|
| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
EventBus.LoggingHandler
Simple logging handler for subscriber exceptions.
|
| Modifier and Type | Field and Description |
|---|---|
private SubscriberExceptionHandler |
EventBus.exceptionHandler |
| Constructor and Description |
|---|
AsyncEventBus(Executor executor,
SubscriberExceptionHandler subscriberExceptionHandler)
Creates a new AsyncEventBus that will use
executor to dispatch events. |
EventBus(String identifier,
Executor executor,
Dispatcher dispatcher,
SubscriberExceptionHandler exceptionHandler)
Constructs a new
EventBus. |
EventBus(SubscriberExceptionHandler exceptionHandler)
Creates a new EventBus with the given
SubscriberExceptionHandler. |