|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EventPipeline
An EventPipeline is used by the ThreadManager to manage the event Pipe and EventHandler relationship. The ThreadManager manages the automatic forwarding of the Events from the queue to the Event Handler.
The interface design is heavily influenced by Matt Welsh's SandStorm server, his demonstration of the SEDA architecture. We have deviated where we felt the design differences where better.
Method Summary | |
---|---|
EventHandler |
getEventHandler()
Returns the reference to the EventHandler that the events from all the Sinks get merged into. |
Source[] |
getSources()
There can be many different sources to merge into a pipeline. |
Method Detail |
---|
Source[] getSources()
EventHandler getEventHandler()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |