public class AsyncProcess extends Object implements ShellProcess
| Modifier and Type | Field and Description |
|---|---|
private ShellProcess |
callee
.
|
private ShellProcessContext |
caller
.
|
private ShellProcessContext |
context
.
|
private Object |
lock
.
|
private String |
request
.
|
private AsyncShell |
shell
.
|
private Status |
status
.
|
| Constructor and Description |
|---|
AsyncProcess(AsyncShell shell,
String request) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Signals the process it should be cancelled.
|
void |
execute(ShellProcessContext processContext)
Begin the process.
|
KeyHandler |
getKeyHandler()
Returns the key handler or null if the process won't handle key events.
|
Status |
getStatus() |
private ShellProcessContext caller
private ShellProcess callee
private AsyncShell shell
private final ShellProcessContext context
AsyncProcess(AsyncShell shell, String request)
public KeyHandler getKeyHandler()
ShellProcessgetKeyHandler in interface ShellProcesspublic void execute(ShellProcessContext processContext)
ShellProcessShellProcessContext.end(ShellResponse) method.execute in interface ShellProcessprocessContext - the process contextpublic void cancel()
ShellProcessShellProcessContext.end(ShellResponse) method.cancel in interface ShellProcessCopyright © 2015 eXo Platform SAS. All Rights Reserved.