More information: http://www.cs.berkeley.edu/~mdw/proj/seda/

seda.sandStorm.internal
Class Stage

java.lang.Object
  |
  +--seda.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.
 
Method Summary
 void destroy()
          Destroy this stage.
 java.lang.String getName()
          Return the name of this stage.
 SinkIF getSink()
          Return the event sink.
 StageWrapperIF getWrapper()
          Return the stage wrapper for this stage.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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.
Method Detail

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

More information: http://www.cs.berkeley.edu/~mdw/proj/seda/