|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.crsh.shell.impl.remoting.ServerAutomaton
public class ServerAutomaton
| Constructor Summary | |
|---|---|
ServerAutomaton(InputStream in,
OutputStream out)
|
|
ServerAutomaton(ObjectOutputStream out,
ObjectInputStream in)
|
|
| Method Summary | |
|---|---|
ServerAutomaton |
addCloseListener(Closeable closeable)
|
void |
close()
|
org.crsh.cli.impl.completion.CompletionMatch |
complete(String prefix)
Completion. |
ShellProcess |
createProcess(String request)
Process a request. |
String |
getPrompt()
Returns the shell prompt. |
String |
getWelcome()
Returns the welcome message. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServerAutomaton(ObjectOutputStream out,
ObjectInputStream in)
public ServerAutomaton(InputStream in,
OutputStream out)
throws IOException
IOException| Method Detail |
|---|
public ServerAutomaton addCloseListener(Closeable closeable)
public String getWelcome()
Shell
getWelcome in interface Shellpublic String getPrompt()
Shell
getPrompt in interface Shell
public ShellProcess createProcess(String request)
throws IllegalStateException
Shell
createProcess in interface Shellrequest - the request to process
IllegalStateException - if the shell cannot create a processpublic org.crsh.cli.impl.completion.CompletionMatch complete(String prefix)
Shell
complete in interface Shellprefix - the prefix to complete
public void close()
close in interface Closeable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||