public abstract class AbstractChildProcess extends java.lang.Object implements InteractiveChildProcess
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
artificial
Artificial terminal flag (
true if the client has no native terminal). |
protected boolean |
batch
Batch mode flag.
|
protected ThinClient |
terminal
Core client helpers.
|
| Constructor and Description |
|---|
AbstractChildProcess(ThinClient terminal,
boolean batch,
boolean artificial)
Construct an instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
inBatchMode()
Reports if the client is in batch mode.
|
boolean |
isArtificialTerm()
Reports if the client is missing an already initialized native terminal session.
|
int |
pauseForUser()
Wait for the user to press a key.
|
void |
resume(boolean silent)
Re-enables client UI processing (key reading, normal drawing mode).
|
void |
suspend(boolean silent)
Temporarily halts the client UI processing (key reading, normal drawing
mode) After entering suspend mode, the current contents of the
terminal are cleared.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasynchCleanup, launch, waitForExitprotected ThinClient terminal
protected boolean batch
protected boolean artificial
true if the client has no native terminal).public AbstractChildProcess(ThinClient terminal, boolean batch, boolean artificial)
terminal - Core client helpers.batch - Batch mode flag.artificial - Artificial terminal flag (true if the client has no native
terminal).public boolean inBatchMode()
inBatchMode in interface InteractiveChildProcesstrue if in batch mode.public boolean isArtificialTerm()
isArtificialTerm in interface InteractiveChildProcesstrue if this is an artificial terminal (there is no native
terminal).public int pauseForUser()
pauseForUser in interface InteractiveChildProcesspublic void suspend(boolean silent)
resume(boolean) to return to normal mode.suspend in interface InteractiveChildProcesssilent - silent mode flag value that can change driver reaction for some suspend/resume.public void resume(boolean silent)
suspend(boolean).resume in interface InteractiveChildProcesssilent - silent mode flag value that can change driver reaction for some suspend/resume.