|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ManagerIF
ManagerIF represents the system manger, which provides various runtime services to applications, such as access to other stages.
Field Summary | |
---|---|
static java.lang.String |
MAINSINK
Each stage may have multiple event queues associated with it. |
Method Summary | |
---|---|
StageIF |
createStage(java.lang.String stagename,
EventHandlerIF eventHandler,
java.lang.String[] initargs)
Create a stage with the given name, event handler, and initial arguments. |
SandstormConfig |
getConfig()
Returns a copy of the SandstormConfig for this Manager. |
ProfilerIF |
getProfiler()
Returns a handle to the system profiler. |
SignalMgrIF |
getSignalMgr()
Returns a handle to the system signal interface. |
StageIF |
getStage(java.lang.String stagename)
Return a handle to the stage with the given name. |
Field Detail |
---|
static final java.lang.String MAINSINK
StageIF
,
Constant Field ValuesMethod Detail |
---|
StageIF getStage(java.lang.String stagename) throws NoSuchStageException
NoSuchStageException
- Thrown if the stage does not exist.StageIF createStage(java.lang.String stagename, EventHandlerIF eventHandler, java.lang.String[] initargs) throws java.lang.Exception
The default stage wrapper and thread manager are used; the sandStorm.api.SystemManagerIF interface provides a lower-level mechanism in case the application has a need to specify these explicitly.
stagename
- The name under which the new stage should be registered.eventHandler
- The event handler object which should be associated
with the new stage.initargs
- The initial arguments to the stage, to be passed to
the new stage through a ConfigDataIF.
java.lang.Exception
- If an exception occurred during stage
creation or initialization.SystemManagerIF
,
ConfigDataIF
SignalMgrIF getSignalMgr()
ProfilerIF getProfiler()
SandstormConfig getConfig()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |