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.
|
Status |
getStatus() |
private ShellProcessContext caller
private ShellProcess callee
private AsyncShell shell
private final ShellProcessContext context
AsyncProcess(AsyncShell shell, String request)
public void execute(ShellProcessContext processContext)
ShellProcessShellProcessContext.end(ShellResponse) method.execute in interface ShellProcessprocessContext - the process contextpublic void cancel()
ShellProcesscancel in interface ShellProcessCopyright © 2013 eXo Platform SAS. All Rights Reserved.