|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.hammurapi.eventbus.EventDispatchJoinContextFilter<E,P,C,H,S>
public class EventDispatchJoinContextFilter<E,P extends Comparable<P>,C,H extends EventBus.Handle<E,P,C>,S extends EventStore<E,P,C,H,S>>
| Field Summary | |
|---|---|
protected EventDispatchContext<E,P,C,H,S> |
next
|
| Constructor Summary | |
|---|---|
EventDispatchJoinContextFilter(EventDispatchContext<E,P,C,H,S> next)
|
|
| Method Summary | |
|---|---|
void |
consume(E event)
Consumes event. |
void |
consume(int index)
Consumes event at index removing them from further multi-event joins. |
void |
consumeJoin(E event)
Consumes event removing it from further multi-event joins by this handler, but not by other handlers. |
void |
consumeJoin(int index)
Consumes event at index removing it from further multi-event joins by this handler, but not from processing by other handlers. |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected EventDispatchContext<E,P extends Comparable<P>,C,H extends EventBus.Handle<E,P,C>,S extends EventStore<E,P,C,H,S>> next
| Constructor Detail |
|---|
public EventDispatchJoinContextFilter(EventDispatchContext<E,P,C,H,S> next)
| Method Detail |
|---|
public void consume(int index)
EventDispatchContext
consume in interface EventDispatchContext<E,P extends Comparable<P>,C,H extends EventBus.Handle<E,P,C>,S extends EventStore<E,P,C,H,S>>public void consume(E event)
EventDispatchContext
consume in interface EventDispatchContext<E,P extends Comparable<P>,C,H extends EventBus.Handle<E,P,C>,S extends EventStore<E,P,C,H,S>>public void update(E event)
EventDispatchContext
update in interface EventDispatchContext<E,P extends Comparable<P>,C,H extends EventBus.Handle<E,P,C>,S extends EventStore<E,P,C,H,S>>public void removeHandler()
EventDispatchContext
removeHandler in interface EventDispatchContext<E,P extends Comparable<P>,C,H extends EventBus.Handle<E,P,C>,S extends EventStore<E,P,C,H,S>>public void consumeJoin(int index)
EventDispatchJoinContext
consumeJoin in interface EventDispatchJoinContext<E,P extends Comparable<P>,C,H extends EventBus.Handle<E,P,C>,S extends EventStore<E,P,C,H,S>>public void consumeJoin(E event)
EventDispatchJoinContext
consumeJoin in interface EventDispatchJoinContext<E,P extends Comparable<P>,C,H extends EventBus.Handle<E,P,C>,S extends EventStore<E,P,C,H,S>>public S getEventStore()
getEventStore in interface EventDispatchContext<E,P extends Comparable<P>,C,H extends EventBus.Handle<E,P,C>,S extends EventStore<E,P,C,H,S>>
public void post(E event,
... validators)
EventDispatchContext
post in interface EventDispatchContext<E,P extends Comparable<P>,C,H extends EventBus.Handle<E,P,C>,S extends EventStore<E,P,C,H,S>>public EventHandlerBase.Mode getMode()
EventDispatchContext
getMode in interface EventDispatchContext<E,P extends Comparable<P>,C,H extends EventBus.Handle<E,P,C>,S extends EventStore<E,P,C,H,S>>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||