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

seda.sandStorm.api
Interface StageIF

All Known Implementing Classes:
Stage

public interface StageIF

A StageIF represents a handle to an application stage. Applications to not implement StageIF directly; rather, they implement EventHandlerIF. A StageIF is used by an event handler to access other stages and is obtained by a call to ManagerIF.getStage().

Author:
Matt Welsh
See Also:
EventHandlerIF, ManagerIF

Method Summary
 void destroy()
          Destroy the given stage.
 java.lang.String getName()
          Return the name of this stage.
 SinkIF getSink()
          Return the event sink for this stage.
 StageWrapperIF getWrapper()
          Return the stage wrapper associated with this stage.
 

Method Detail

getName

public java.lang.String getName()
Return the name of this stage.

getSink

public SinkIF getSink()
Return the event sink for this stage.

getWrapper

public StageWrapperIF getWrapper()
Return the stage wrapper associated with this stage. For internal use.

destroy

public void destroy()
Destroy the given stage. Removes the stage from the system and invokes its event handler's destroy() method. Stage destruction may be delayed until all pending events for the stage have been processed.

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