|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
E - Event type.P - Priority type.public interface EventHandler<E,P extends Comparable<P>,C,H extends EventBus.Handle<E,P,C>,S extends EventStore<E,P,C,H,S>>
Event handler.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.hammurapi.eventbus.EventHandlerBase |
|---|
EventHandlerBase.Mode |
| Method Summary | |
|---|---|
void |
post(EventDispatchContext<E,P,C,H,S> context,
E... events)
Posts event for handling. |
| Methods inherited from interface com.hammurapi.eventbus.EventHandlerBase |
|---|
consumes, getCardinality, getContext, getMode, getPredicate, getPriority, isOneOff, reset |
| Method Detail |
|---|
void post(EventDispatchContext<E,P,C,H,S> context,
E... events)
context - Event dispatching context.events - Events to handle. An event to handle if there is one event.
A tuple of joined events to handle otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||