|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.crsh.shell.concurrent.AsyncShell
public class AsyncShell
Constructor Summary | |
---|---|
AsyncShell(ExecutorService executor,
Shell shell)
|
Method Summary | |
---|---|
void |
close()
|
Map<String,String> |
complete(String prefix)
Completion. |
String |
getPrompt()
Returns the shell prompt. |
Status |
getStatus()
|
String |
getWelcome()
Returns the welcome message. |
void |
process(String request,
ShellProcessContext processContext)
Process a request. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AsyncShell(ExecutorService executor, Shell shell)
Method Detail |
---|
public Status getStatus()
public void close()
public String getWelcome()
Shell
getWelcome
in interface Shell
public String getPrompt()
Shell
getPrompt
in interface Shell
public Map<String,String> complete(String prefix)
Shell
complete
in interface Shell
prefix
- the prefix to complete
public void process(String request, ShellProcessContext processContext)
Shell
process
in interface Shell
request
- the request to processprocessContext
- the process context
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |