eaLib API Docs
Last Modified : January 7 2002

mss.ea.al
Class EventNotifier

java.lang.Object
  |
  +--mss.ea.core.GeneticOperator
        |
        +--mss.ea.al.EventNotifier
All Implemented Interfaces:
SingleStreamProcessor, StreamProcessor

public class EventNotifier
extends GeneticOperator
implements SingleStreamProcessor

Connector which notifies listeners of stream passes.

Since:
0.2
Version:
$Revision: 1.3 $ $Date: 2001/11/13 09:58:51 $
Author:
Andreas Rummler

Fields inherited from class mss.ea.core.GeneticOperator
description, ID, name
 
Constructor Summary
EventNotifier(NotificationListener listener)
          Constructor.
 
Method Summary
 void addListener(NotificationListener listener)
          Adds a new notification listener to the internal list.
 IndividualStream process(IndividualStream is)
          Generates notifications for all registered listeners.
 
Methods inherited from class mss.ea.core.GeneticOperator
getDescription, getID, getName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface mss.ea.core.StreamProcessor
getName
 

Constructor Detail

EventNotifier

public EventNotifier(NotificationListener listener)
Constructor.
Parameters:
listener - initial notification listener
Method Detail

addListener

public void addListener(NotificationListener listener)
Adds a new notification listener to the internal list.
Parameters:
listener - notification listener to add

process

public IndividualStream process(IndividualStream is)
Generates notifications for all registered listeners.
Specified by:
process in interface SingleStreamProcessor
Following copied from interface: mss.ea.core.SingleStreamProcessor
Parameters:
is - individual stream to process
Returns:
processed stream of individuals
Throws:
EAException -  

eaLib API Docs
Last Modified : January 7 2002

Copyright © 2000-2001 Technical University of Ilmenau, Department ESS