eaLib API Docs
Last Modified : January 7 2002

mss.ea.al
Class NotificationThread

java.lang.Object
  |
  +--mss.ea.core.GeneticOperator
        |
        +--mss.ea.al.ThreadOperator
              |
              +--mss.ea.al.NotificationThread
All Implemented Interfaces:
java.lang.Runnable

Deprecated. superceded by new thread communication model

public class NotificationThread
extends ThreadOperator

Wrapper for a notification processors with a single input/output.

Since:
0.1
Version:
$Revision: 1.3 $ $Date: 2001/11/12 17:20:30 $
Author:
Andreas Rummler

Field Summary
protected  java.util.LinkedList notificationList
          Deprecated. List of notification listeners.
protected  IndividualStream stream
          Deprecated. Individual stream.
 
Fields inherited from class mss.ea.al.ThreadOperator
inputs, outputs, predecessorList, successorList, successorNotificationList, sync, terminate, thread
 
Fields inherited from class mss.ea.core.GeneticOperator
description, ID, name
 
Constructor Summary
NotificationThread()
          Deprecated. Constructor.
NotificationThread(NotificationListener listener)
          Deprecated. Constructor with a single notification listener.
 
Method Summary
 void addListener(NotificationListener listener)
          Deprecated. Adds a new notification listener to the internal list.
 void addStream(IndividualStream stream)
          Deprecated. Adds a stream to this operator.
 void operate()
          Deprecated.  
 java.lang.String toString()
          Deprecated. Returns a string representation.
 
Methods inherited from class mss.ea.al.ThreadOperator
addPredecessor, addPredecessor, addSuccessor, addSuccessor, getInputs, getOutputs, getPredecessors, getSuccessors, getThread, hangup, isConnected, run, setController, setSync, setThread
 
Methods inherited from class mss.ea.core.GeneticOperator
getDescription, getID, getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

notificationList

protected java.util.LinkedList notificationList
Deprecated. 
List of notification listeners.

stream

protected IndividualStream stream
Deprecated. 
Individual stream.
Constructor Detail

NotificationThread

public NotificationThread()
Deprecated. 
Constructor.

NotificationThread

public NotificationThread(NotificationListener listener)
Deprecated. 
Constructor with a single notification listener.
Parameters:
listener - notification listener
Method Detail

addStream

public void addStream(IndividualStream stream)
Deprecated. 
Adds a stream to this operator.
Overrides:
addStream in class ThreadOperator
Parameters:
stream -  

operate

public void operate()
Deprecated. 
Overrides:
operate in class ThreadOperator

addListener

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

toString

public java.lang.String toString()
Deprecated. 
Returns a string representation.
Overrides:
toString in class GeneticOperator
Returns:
string representation

eaLib API Docs
Last Modified : January 7 2002

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