public class CliShellFactory.JPosCLIShell
extends java.lang.Object
implements org.apache.sshd.server.command.Command, org.apache.sshd.server.session.ServerSessionAware
Constructor and Description |
---|
JPosCLIShell(java.lang.String args) |
Modifier and Type | Method and Description |
---|---|
void |
destroy(org.apache.sshd.server.channel.ChannelSession channel) |
void |
setErrorStream(java.io.OutputStream err) |
void |
setExitCallback(org.apache.sshd.server.ExitCallback exitCallback) |
void |
setInputStream(java.io.InputStream in) |
void |
setOutputStream(java.io.OutputStream out) |
void |
setSession(org.apache.sshd.server.session.ServerSession serverSession) |
void |
start(org.apache.sshd.server.channel.ChannelSession channel,
org.apache.sshd.server.Environment env) |
public void setInputStream(java.io.InputStream in)
setInputStream
in interface org.apache.sshd.server.command.CommandDirectInputStreamAware
public void setOutputStream(java.io.OutputStream out)
setOutputStream
in interface org.apache.sshd.server.command.CommandDirectOutputStreamAware
public void setErrorStream(java.io.OutputStream err)
setErrorStream
in interface org.apache.sshd.server.command.CommandDirectErrorStreamAware
public void setExitCallback(org.apache.sshd.server.ExitCallback exitCallback)
setExitCallback
in interface org.apache.sshd.server.command.Command
public void setSession(org.apache.sshd.server.session.ServerSession serverSession)
setSession
in interface org.apache.sshd.server.session.ServerSessionAware
public void start(org.apache.sshd.server.channel.ChannelSession channel, org.apache.sshd.server.Environment env) throws java.io.IOException
start
in interface org.apache.sshd.server.command.CommandLifecycle
java.io.IOException
public void destroy(org.apache.sshd.server.channel.ChannelSession channel)
destroy
in interface org.apache.sshd.server.command.CommandLifecycle