|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.crsh.shell.impl.async.AsyncProcess
public class AsyncProcess
| Field Summary | |
|---|---|
private ShellProcess |
callee
. |
private ShellProcessContext |
caller
. |
private ShellProcessContext |
context
. |
private Object |
lock
. |
private String |
request
. |
private AsyncShell |
shell
. |
private Status |
status
. |
| Constructor Summary | |
|---|---|
AsyncProcess(AsyncShell shell,
String request)
|
|
| Method Summary | |
|---|---|
void |
cancel()
Signals the process it should be cancelled. |
void |
execute(ShellProcessContext processContext)
Begin the process. |
Status |
getStatus()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final String request
private ShellProcessContext caller
private ShellProcess callee
private AsyncShell shell
private Status status
private final Object lock
private final ShellProcessContext context
| Constructor Detail |
|---|
AsyncProcess(AsyncShell shell,
String request)
| Method Detail |
|---|
public Status getStatus()
public void execute(ShellProcessContext processContext)
ShellProcessShellProcessContext.end(ShellResponse) method.
execute in interface ShellProcessprocessContext - the process contextpublic void cancel()
ShellProcess
cancel in interface ShellProcess
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||