|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.crsh.shell.impl.command.CRaSHProcess
abstract class CRaSHProcess
| Field Summary | |
|---|---|
private boolean |
cancelled
. |
protected CRaSHSession |
crash
. |
protected String |
request
. |
private Thread |
thread
. |
| Constructor Summary | |
|---|---|
protected |
CRaSHProcess(CRaSHSession crash,
String request)
|
| Method Summary | |
|---|---|
void |
cancel()
Signals the process it should be cancelled. |
(package private) abstract ShellResponse |
doInvoke(ShellProcessContext context)
|
void |
execute(ShellProcessContext processContext)
Begin the process. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final CRaSHSession crash
protected final String request
private volatile Thread thread
private volatile boolean cancelled
| Constructor Detail |
|---|
protected CRaSHProcess(CRaSHSession crash,
String request)
| Method Detail |
|---|
public void execute(ShellProcessContext processContext)
ShellProcessShellProcessContext.end(ShellResponse) method.
execute in interface ShellProcessprocessContext - the process context
abstract ShellResponse doInvoke(ShellProcessContext context)
throws InterruptedException
InterruptedExceptionpublic void cancel()
ShellProcess
cancel in interface ShellProcess
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||