|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
E - public interface EventProcessorPipeline<E extends Event>
This interface defines an abstract event processor pipeline. Processors can subscribe to this pipeline to act upon an event.
| Method Summary | |
|---|---|
Double |
getPriority(EventProcessor<E> proc)
|
void |
process(E event)
|
void |
register(Double priority,
EventProcessor<E> proc)
Register a new event processor in this pipeline. |
void |
unregister(EventProcessor<E> proc)
Unregister the given processor from this pipeline. |
| Method Detail |
|---|
void process(E event)
throws EventProcessorException
event -
EventProcessorException
void register(Double priority,
EventProcessor<E> proc)
priority - The priority with which this processor is inserted into the pipeline.proc - The new processor to be added to the pipeline.void unregister(EventProcessor<E> proc)
proc - The processor to remove from the pipeline.Double getPriority(EventProcessor<E> proc)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||