|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.crsh.ssh.term.AbstractCommand org.crsh.ssh.term.inline.SSHInlineCommand
public class SSHInlineCommand
SSH inline command
Field Summary | |
---|---|
private String |
command
. |
private org.apache.sshd.server.Environment |
env
. |
protected static int |
ERROR
. |
protected static Logger |
log
. |
protected static int |
OK
. |
private PluginContext |
pluginContext
. |
private Thread |
thread
. |
Fields inherited from class org.crsh.ssh.term.AbstractCommand |
---|
callback, err, in, out, session |
Constructor Summary | |
---|---|
SSHInlineCommand(String command,
PluginContext pluginContext)
|
Method Summary | |
---|---|
void |
destroy()
|
void |
run()
|
void |
start(org.apache.sshd.server.Environment environment)
|
Methods inherited from class org.crsh.ssh.term.AbstractCommand |
---|
setErrorStream, setExitCallback, setInputStream, setOutputStream, setSession |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final Logger log
protected static final int OK
protected static final int ERROR
private Thread thread
private String command
private PluginContext pluginContext
private org.apache.sshd.server.Environment env
Constructor Detail |
---|
public SSHInlineCommand(String command, PluginContext pluginContext)
Method Detail |
---|
public void start(org.apache.sshd.server.Environment environment) throws IOException
start
in interface org.apache.sshd.server.Command
IOException
public void destroy()
destroy
in interface org.apache.sshd.server.Command
public void run()
run
in interface Runnable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |