mss.ea.al
Class StreamCombiner
java.lang.Object
|
+--mss.ea.al.FlowElement
|
+--mss.ea.al.AbstractMerger
|
+--mss.ea.al.StreamCombiner
- All Implemented Interfaces:
- MessageRecipient, java.lang.Runnable
- public class StreamCombiner
- extends AbstractMerger
Implementation of a merger which combines streams.
Every of the predecessors must send a stream, which is used to create a new one
by the underlying individual combiner. Instead of waiting for any stream to approach
every predecessor must send a stream. Until this event happens this operator halts.
- Since:
- 0.2.2
- Version:
- $Revision: 1.2 $ $Date: 2001/11/26 09:25:00 $
- Author:
- Andreas Rummler
Method Summary |
protected void |
react()
Reaction on an incoming message. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
combiner
protected IndividualCombiner combiner
- Underlying individual collector.
streamArray
protected IndividualStream[] streamArray
StreamCombiner
public StreamCombiner(IndividualCombiner combiner,
java.lang.String name)
- Constructor.
- Parameters:
combiner
- individual stream combinername
- name of this element
StreamCombiner
public StreamCombiner(IndividualCombiner combiner,
MessageBroker broker,
java.lang.String name)
- Constructor with message broker.
- Parameters:
combiner
- stream individual combinerbroker
- message brokername
- name of this element
react
protected void react()
- Reaction on an incoming message.
- Overrides:
react
in class FlowElement
Copyright © 2000-2001 Technical University of Ilmenau, Department ESS