public abstract static class ExecutionContext.Common extends NativeObject implements ExecutionContext.Interface
Modifier | Constructor and Description |
---|---|
protected |
Common(long I64_NativeRef)
Top and child execution context constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
enableStream(int E_StreamType,
boolean B_Enable)
Enabling/disabling output streams.
|
boolean |
getBeep()
Beep configuration access.
|
IODevice.Interface |
getInput()
Input stream accessor.
|
int |
getLang()
Language access.
|
OutputDevice.Interface |
getStream(int E_StreamType)
Output stream accessor.
|
boolean |
isRunning()
Tells whether this execution context is running or not.
|
boolean |
run()
Runs the execution context as a child context of the parent given by the construction.
|
boolean |
run(IODevice.Interface CLI_IODevice)
Runs the execution context onto the corresponding input/output device.
|
void |
setBeep(boolean B_Enable)
Beep configuration setting.
|
void |
setLang(int E_Lang)
Language setting.
|
boolean |
setStream(int E_StreamType,
OutputDevice.Interface CLI_Stream)
Output stream positionning.
|
void |
stopAllExecutions()
Terminates execution for all execution contexts attached to the same top execution context.
|
void |
stopExecution()
Terminates this execution context's execution.
|
boolean |
streamEnabled(int E_StreamType)
Enabled/disabled stream status accessor.
|
void |
watchResult(ExecutionResult CLI_Result)
Context execution result interface registration.
|
createdFromNative, dontFinalize, finalize, forget, getbDoFinalize, getNativeRef, getObject, remember
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getNativeRef
protected Common(long I64_NativeRef)
I64_NativeRef
- Native instance reference corresponding to this Java instance.public final IODevice.Interface getInput()
ExecutionContext.Interface
getInput
in interface ExecutionContext.Interface
public final OutputDevice.Interface getStream(int E_StreamType)
ExecutionContext.Interface
getStream
in interface ExecutionContext.Interface
E_StreamType
- Output stream identifier.public final boolean setStream(int E_StreamType, OutputDevice.Interface CLI_Stream)
ExecutionContext.Interface
setStream
in interface ExecutionContext.Interface
E_StreamType
- Output stream identifier.CLI_Stream
- Stream reference.public final boolean streamEnabled(int E_StreamType)
ExecutionContext.Interface
streamEnabled
in interface ExecutionContext.Interface
E_StreamType
- Output stream identifier.public final boolean enableStream(int E_StreamType, boolean B_Enable)
ExecutionContext.Interface
enableStream
in interface ExecutionContext.Interface
E_StreamType
- Output stream identifier.B_Enable
- Enable flag.public final void setLang(int E_Lang)
ExecutionContext.Interface
setLang
in interface ExecutionContext.Interface
E_Lang
- New value.public final int getLang()
ExecutionContext.Interface
getLang
in interface ExecutionContext.Interface
public final void setBeep(boolean B_Enable)
ExecutionContext.Interface
setBeep
in interface ExecutionContext.Interface
B_Enable
- New value.public final boolean getBeep()
ExecutionContext.Interface
getBeep
in interface ExecutionContext.Interface
public final void watchResult(ExecutionResult CLI_Result)
ExecutionContext.Interface
watchResult
in interface ExecutionContext.Interface
CLI_Result
- Execution context to be watched.public final boolean run(IODevice.Interface CLI_IODevice)
ExecutionContext.Interface
run
in interface ExecutionContext.Interface
CLI_IODevice
- Input/output device to run onto.public final boolean run()
ExecutionContext.Interface
run
in interface ExecutionContext.Interface
public final boolean isRunning()
ExecutionContext.Interface
isRunning
in interface ExecutionContext.Interface
public final void stopExecution()
ExecutionContext.Interface
stopExecution
in interface ExecutionContext.Interface
public final void stopAllExecutions()
ExecutionContext.Interface
stopAllExecutions
in interface ExecutionContext.Interface