mss.ea.al
Class StreamRouter
java.lang.Object
|
+--mss.ea.al.FlowElement
|
+--mss.ea.al.AbstractFork
|
+--mss.ea.al.StreamRouter
- All Implemented Interfaces:
- MessageRecipient, java.lang.Runnable
- public class StreamRouter
- extends AbstractFork
Implementation of an individual stream router.
This class represents a fork element which routes streams from the input to one of the outputs,
depending on the internal router.
- Since:
- 0.2
- Version:
- $Revision: 1.4 $ $Date: 2001/11/19 14:49:11 $
- 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 |
router
protected IndividualRouter router
- Underlying individual router.
StreamRouter
public StreamRouter(IndividualRouter router,
java.lang.String name)
- Constructor.
- Parameters:
router
- individual stream routername
- name of this element
StreamRouter
public StreamRouter(IndividualRouter router,
MessageBroker broker,
java.lang.String name)
- Constructor with message broker.
- Parameters:
router
- individual stream routerbroker
- 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