restructuring
[lwes-java.git] / src / main / java / org / lwes / listener / EventListener.java
blobdcb4883f884c98c0d010a8031cba20c417f07fd8
1 package org.lwes.listener;
3 /**
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.
8 *
9 * @author Michael P. Lum
10 * @author Anthony Molinaro
12 public interface EventListener {
13 /**
14 * Add an EventHandler to handle events for processing.
15 * @param handler the EventHandler to add
17 public void addHandler(EventHandler handler);