| 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).
|
| Class and Description |
|---|
| Dispatcher
Handler for dispatching events to subscribers, providing different event ordering guarantees that
make sense for different situations.
|
| Dispatcher.ImmediateDispatcher
Implementation of
Dispatcher.immediate(). |
| Dispatcher.LegacyAsyncDispatcher.EventWithSubscriber |
| Dispatcher.PerThreadQueuedDispatcher.Event |
| EventBus
Dispatches events to listeners, and provides ways for listeners to register themselves.
|
| EventBus.DirectExecutor
Simple executor singleton that runs commands in the same thread.
|
| EventBus.LoggingHandler
Simple logging handler for subscriber exceptions.
|
| Subscriber
A subscriber method on a specific object, plus the executor that should be used for dispatching
events to it.
|
| SubscriberExceptionContext
Context for an exception thrown by a subscriber.
|
| SubscriberExceptionHandler
Handler for exceptions thrown by event subscribers.
|
| SubscriberRegistry
Registry of subscribers to a single event bus.
|