|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
An EventHandler takes care of processing specific events in
an event-based architecture.
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 | |
void |
handleEvent(java.lang.Object element)
Handle one event at a time. |
void |
handleEvents(java.lang.Object[] elements)
Handle a whole array of events at a time. |
| Method Detail |
public void handleEvent(java.lang.Object element)
element - The element that the EventHandler must processpublic void handleEvents(java.lang.Object[] elements)
elements - The array of elements that the EventHandler must process
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||