|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.crsh.shell.impl.remoting.ServerProcess
public class ServerProcess
| Field Summary | |
|---|---|
(package private) String |
line
. |
(package private) ServerAutomaton |
server
. |
private int |
status
. |
| Constructor Summary | |
|---|---|
ServerProcess(ServerAutomaton server,
String line)
|
|
| Method Summary | |
|---|---|
void |
cancel()
Signals the process it should be cancelled. |
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 |
|---|
final ServerAutomaton server
final String line
private int status
| Constructor Detail |
|---|
ServerProcess(ServerAutomaton server,
String line)
| Method Detail |
|---|
public void execute(ShellProcessContext processContext)
throws IllegalStateException
ShellProcessShellProcessContext.end(ShellResponse) method.
execute in interface ShellProcessprocessContext - the process context
IllegalStateException - if the process cannot be executed for some reasonpublic void cancel()
ShellProcess
cancel in interface ShellProcess
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||