E - public interface EventProcessorPipeline<E extends Event>
| Modifier and Type | Method and Description |
|---|---|
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.
|
void process(E event) throws EventProcessorException
event - EventProcessorExceptionvoid 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)
Copyright © 2015 jwall.org. All Rights Reserved.