| Interface | Description |
|---|---|
| SubscriberExceptionHandler |
Handler for exceptions thrown by the subscriber method
|
| Class | Description |
|---|---|
| AsyncEventBus |
This
EventBus expects a Executor of your choice to dispatch events. |
| DeadEvent |
This event is used to wrap event which are posted to bus and doesn't to have a corresponding subscriber
method
|
| Dispatcher |
Handler for maintaining the order of events to be dispatched.
|
| EventBus |
This will dispatch event to its subscribers and provides a way to register objects themselves as subscribers.
|
| Annotation Type | Description |
|---|---|
| AcceptConcurrentEvents |
When this annotation is added to a method, it implies that the EventBus may call this method from multiple threads
and the method is made to be thread safe
|
| Subscribe |
Used to mark a method as an event subscriber
Make sure the method has one and only parameter which is the event to be subscribed to.
|
Copyright © 2019. All rights reserved.