| seda.sandStorm.api.ManagerIF
All known Subclasses: seda.sandStorm.internal.sandStormMgr,
ManagerIF | public interface ManagerIF (Code) | | ManagerIF represents the system manger, which provides various
runtime services to applications, such as access to other stages.
author: Matt Welsh |
Field Summary | |
final public static String | MAINSINK Each stage may have multiple event queues associated with it. |
MAINSINK | final public static String MAINSINK(Code) | | Each stage may have multiple event queues associated with it.
This is the name of the 'main' event queue for a given stage, and
is the default sink returned by a call to StageIF.getSink().
See Also: StageIF |
createStage | public StageIF createStage(String stagename, EventHandlerIF eventHandler, String initargs) throws Exception(Code) | | Create a stage with the given name, event handler, and initial
arguments. This method can be used by applications to create
new stages at runtime.
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.
Parameters: stagename - The name under which the new stage should be registered. Parameters: eventHandler - The event handler object which should be associatedwith the new stage. Parameters: initargs - The initial arguments to the stage, to be passed tothe new stage through a ConfigDataIF. A handle to the newly-created stage. exception: Exception - If an exception occurred during stage creation or initialization. See Also: seda.sandStorm.api.internal.SystemManagerIF See Also: ConfigDataIF |
getConfig | public SandstormConfig getConfig()(Code) | | Returns a copy of the SandstormConfig for this Manager. This contains all
of the global options used by the runtime system. Note that modifying
any options of this copy does not in fact change the runtime parameters
of the system; this is used for informational purposes only.
|
getProfiler | public ProfilerIF getProfiler()(Code) | | Returns a handle to the system profiler.
|
getSignalMgr | public SignalMgrIF getSignalMgr()(Code) | | Returns a handle to the system signal interface.
|
|
|