mdw.sandStorm.internal
Class Stage
java.lang.Object
|
+--mdw.sandStorm.internal.Stage
- All Implemented Interfaces:
- StageIF
- public class Stage
- extends java.lang.Object
- implements StageIF
A Stage is a basic implementation of StageIF for application-level
stages.
- Author:
- Matt Welsh
Constructor Summary |
Stage(java.lang.String name,
StageWrapperIF wrapper)
Create a Stage with the given name and wrapper, with no sink. |
Stage(java.lang.String name,
StageWrapperIF wrapper,
SinkIF mainsink,
ConfigDataIF config)
Create a Stage with the given name, wrapper, and sink. |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Stage
public Stage(java.lang.String name,
StageWrapperIF wrapper,
SinkIF mainsink,
ConfigDataIF config)
- Create a Stage with the given name, wrapper, and sink.
Stage
public Stage(java.lang.String name,
StageWrapperIF wrapper)
- Create a Stage with the given name and wrapper, with no sink.
This is used only for specialized stages.
getName
public java.lang.String getName()
- Return the name of this stage.
- Specified by:
getName
in interface StageIF
getSink
public SinkIF getSink()
- Return the event sink.
- Specified by:
getSink
in interface StageIF
getWrapper
public StageWrapperIF getWrapper()
- Return the stage wrapper for this stage.
- Specified by:
getWrapper
in interface StageIF
destroy
public void destroy()
- Destroy this stage.
- Specified by:
destroy
in interface StageIF