public class SSHInlineCommand extends AbstractCommand implements Runnable
Modifier and Type | Field and Description |
---|---|
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
.
|
Constructor and Description |
---|
SSHInlineCommand(String command,
PluginContext pluginContext) |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
void |
run() |
void |
start(org.apache.sshd.server.Environment environment) |
setErrorStream, setExitCallback, setInputStream, setOutputStream, setSession
protected static final int OK
protected static final int ERROR
private PluginContext pluginContext
private org.apache.sshd.server.Environment env
public SSHInlineCommand(String command, PluginContext pluginContext)
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
Copyright © 2015 eXo Platform SAS. All Rights Reserved.