public interface ShellClient
ShellServer.
A client is very thin, it just grabs a command line from the user and sends
it to the server, letting everything happen server-side.| Modifier and Type | Method and Description |
|---|---|
void |
end()
Tells the client session to end, i.e.
|
void |
evaluate(String line)
Evaluates a line and reacts to it.
|
void |
evaluate(String line,
Output out)
Evaluates a line and reacts to it.
|
Serializable |
getId() |
Output |
getOutput() |
String |
getPrompt() |
ShellServer |
getServer() |
void |
grabPrompt()
Grabs the console prompt.
|
void |
setSessionVariable(String key,
Serializable value) |
void |
shutdown()
Shuts down any resource needing to shut down.
|
long |
timeForMostRecentConnection() |
Serializable getId()
void grabPrompt()
void evaluate(String line) throws ShellException
line - the line to evaluate.ShellException - if something went wrong.void evaluate(String line, Output out) throws ShellException
line - the line to evaluate.out - output just for this evaluation.ShellException - if something went wrong.void end()
grabPrompt().ShellServer getServer()
Output getOutput()
String getPrompt()
long timeForMostRecentConnection()
void shutdown()
void setSessionVariable(String key, Serializable value) throws ShellException
ShellExceptionCopyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.