eaLib API Docs
Last Modified : January 7 2002

mss.ea.al
Class StreamConduit

java.lang.Object
  |
  +--mss.ea.al.FlowElement
        |
        +--mss.ea.al.AbstractConduit
              |
              +--mss.ea.al.StreamConduit
All Implemented Interfaces:
MessageRecipient, java.lang.Runnable

public class StreamConduit
extends AbstractConduit

Stream conduit which serves as a synchronization point. This operator waits streams to arrive from all the predecessors. After all predecessors have produced streams the are processed using the underlying individual stream conduit. The resulting streams are sent to the successors.

Since:
0.2.3
Version:
$Revision: 1.2 $ $Date: 2001/12/10 14:02:35 $
Author:
Andreas Rummler

Field Summary
protected  IndividualConduit conduit
          Underlying individual conduit.
protected  IndividualStream[] streamArray
           
 
Fields inherited from class mss.ea.al.AbstractConduit
predecessorList, successorList
 
Fields inherited from class mss.ea.al.FlowElement
broker, messageChannel, name, receivedMessage, sync
 
Constructor Summary
StreamConduit(IndividualConduit conduit, MessageBroker broker, java.lang.String name)
          Constructor with message broker.
StreamConduit(IndividualConduit conduit, java.lang.String name)
          Constructor.
 
Method Summary
protected  void react()
          Reaction on an incoming message.
 
Methods inherited from class mss.ea.al.AbstractConduit
getPredecessor, getPredecessorNumber, getSuccessor, getSuccessorNumber, hasPredecessor, hasSuccessor, setPredecessor, setSuccessor
 
Methods inherited from class mss.ea.al.FlowElement
acquireChannel, register, run, setBroker, setChannel, setSync, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

conduit

protected IndividualConduit conduit
Underlying individual conduit.

streamArray

protected IndividualStream[] streamArray
Constructor Detail

StreamConduit

public StreamConduit(IndividualConduit conduit,
                     java.lang.String name)
Constructor.
Parameters:
combiner - individual stream conduit
name - name of this element

StreamConduit

public StreamConduit(IndividualConduit conduit,
                     MessageBroker broker,
                     java.lang.String name)
Constructor with message broker.
Parameters:
conduit - stream individual conduit
broker - message broker
name - name of this element
Method Detail

react

protected void react()
Reaction on an incoming message.
Overrides:
react in class FlowElement

eaLib API Docs
Last Modified : January 7 2002

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