mss.ea.al
Class StreamMultiCaster
java.lang.Object
|
+--mss.ea.al.FlowElement
|
+--mss.ea.al.AbstractFork
|
+--mss.ea.al.StreamMultiCaster
- All Implemented Interfaces:
- MessageRecipient, java.lang.Runnable
- public class StreamMultiCaster
- extends AbstractFork
Implementation of an individual stream multicaster.
This class represents a fork element which sends the whole stream or parts of the stream to all successors.
The contents of the sent stream depend on the underlying multi cast element, which has to split up the incoming
stream.
- Since:
- 0.2.1
- Version:
- $Revision: 1.2 $ $Date: 2001/11/20 12:27:45 $
- 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 |
splitter
protected IndividualSplitter splitter
- Underlying stream splitter.
StreamMultiCaster
public StreamMultiCaster(IndividualSplitter splitter,
java.lang.String name)
- Constructor.
- Parameters:
splitter
- individual stream splittername
- name of this element
StreamMultiCaster
public StreamMultiCaster(IndividualSplitter splitter,
MessageBroker broker,
java.lang.String name)
- Constructor with message broker.
- Parameters:
splitter
- individual stream splitterbroker
- 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