|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
E - Event type.public interface EventDispatchContext<E,P extends Comparable<P>,C,H extends EventBus.Handle<E,P,C>,S extends EventStore<E,P,C,H,S>>
Context of event dispatching.
| Method Summary | |
|---|---|
void |
consume(E event)
Consumes event. |
void |
consume(int index)
Consumes event at index removing them from further multi-event joins. |
S |
getEventStore()
|
EventHandlerBase.Mode |
getMode()
Handler mode - POST or REMOVE |
void |
post(E event,
Posts new event to the bus. |
void |
removeHandler()
Removes given handler from the inference network so it is never fired again. |
void |
update(E event)
Invocation of this method indicates that one of source events has been chanded and shall be re-posted. |
| Method Detail |
|---|
void post(E event,
... validators)
events - void consume(int index)
indices - void consume(E event)
events - void update(E event)
event - void removeHandler()
S getEventStore()
EventHandlerBase.Mode getMode()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||