eaLib API Docs
Last Modified : January 7 2002

mss.ea.al
Class SinkThread

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

Deprecated. superceded by new thread communication model

public class SinkThread
extends ThreadOperator

Wrapper for an individual sink.

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

Field Summary
protected  int addCounter
          Deprecated.  
protected  int indCounter
          Deprecated.  
protected  int maxAddCounter
          Deprecated.  
protected  int maxIndCounter
          Deprecated.  
protected  IndividualSink sink
          Deprecated. Underlying individual sink.
protected  IndividualStream stream
          Deprecated. Individual stream to add to the sink.
 
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
SinkThread(IndividualSink sink)
          Deprecated. Constructor.
SinkThread(IndividualSink sink, int maxAdd, int maxInd)
          Deprecated.  
 
Method Summary
 void addStream(IndividualStream stream)
          Deprecated. Adds a stream to the sink.
protected  java.lang.Thread getMain()
          Deprecated.  
 IndividualSink getSink()
          Deprecated.  
 boolean isComplete()
          Deprecated.  
 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

sink

protected IndividualSink sink
Deprecated. 
Underlying individual sink.

stream

protected IndividualStream stream
Deprecated. 
Individual stream to add to the sink.

addCounter

protected int addCounter
Deprecated. 

maxAddCounter

protected int maxAddCounter
Deprecated. 

indCounter

protected int indCounter
Deprecated. 

maxIndCounter

protected int maxIndCounter
Deprecated. 
Constructor Detail

SinkThread

public SinkThread(IndividualSink sink)
Deprecated. 
Constructor.
Parameters:
sink - underlying individual sink

SinkThread

public SinkThread(IndividualSink sink,
                  int maxAdd,
                  int maxInd)
Deprecated. 
Method Detail

addStream

public void addStream(IndividualStream stream)
Deprecated. 
Adds a stream to the sink.
Overrides:
addStream in class ThreadOperator
Parameters:
stream - stream to add

operate

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

getMain

protected java.lang.Thread getMain()
Deprecated. 

getSink

public IndividualSink getSink()
Deprecated. 

toString

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

isComplete

public boolean isComplete()
Deprecated. 

eaLib API Docs
Last Modified : January 7 2002

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