1 package org
.lwes
.listener
;
4 * EventListener is an interface defining an event listener that has pluggable
5 * event acquisition and handling. Events can be acquired over the network or
6 * from a file, for example. Handlers can be registered using a callback interface
7 * that will be called as events come into the system.
9 * @author Michael P. Lum
10 * @author Anthony Molinaro
12 public interface EventListener
{
14 * Add an EventHandler to handle events for processing.
15 * @param handler the EventHandler to add
17 public void addHandler(EventHandler handler
);