org.lwes.listener
Interface EventListener

All Known Implementing Classes:
DatagramEventListener, ThreadedEventListener

public interface EventListener

EventListener is an interface defining an event listener that has pluggable event acquisition and handling. Events can be acquired over the network or from a file, for example. Handlers can be registered using a callback interface that will be called as events come into the system.

Author:
Michael P. Lum, Anthony Molinaro

Method Summary
 void addHandler(EventHandler handler)
          Add an EventHandler to handle events for processing.
 

Method Detail

addHandler

void addHandler(EventHandler handler)
Add an EventHandler to handle events for processing.

Parameters:
handler - the EventHandler to add