org.crsh.ssh.term.inline
Class SSHInlineCommand
java.lang.Object
org.crsh.ssh.term.AbstractCommand
org.crsh.ssh.term.inline.SSHInlineCommand
- All Implemented Interfaces:
- Runnable, org.apache.sshd.server.Command, org.apache.sshd.server.SessionAware
-
public class SSHInlineCommand
- extends AbstractCommand
-
- implements Runnable
-
SSH inline command
Method Summary |
void |
destroy()
|
void |
run()
|
void |
start(org.apache.sshd.server.Environment environment)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static final Logger log
-
.
OK
protected static final int OK
-
.
- See Also:
- Constant Field Values
ERROR
protected static final int ERROR
-
.
- See Also:
- Constant Field Values
thread
private Thread thread
-
.
command
private String command
-
.
pluginContext
private PluginContext pluginContext
-
.
env
private org.apache.sshd.server.Environment env
-
.
SSHInlineCommand
public SSHInlineCommand(String command,
PluginContext pluginContext)
start
public void start(org.apache.sshd.server.Environment environment)
throws IOException
-
- Specified by:
start
in interface org.apache.sshd.server.Command
-
- Throws:
IOException
destroy
public void destroy()
-
- Specified by:
destroy
in interface org.apache.sshd.server.Command
-
run
public void run()
-
- Specified by:
run
in interface Runnable
-
Copyright © 2014 eXo Platform SAS. All Rights Reserved.