- java.lang.Object
-
- org.jline.builtins.ssh.ShellFactoryImpl.ShellImpl
-
- All Implemented Interfaces:
org.apache.sshd.server.command.Command,org.apache.sshd.server.command.CommandLifecycle,org.apache.sshd.server.SessionAware
- Enclosing class:
- ShellFactoryImpl
public class ShellFactoryImpl.ShellImpl extends Object implements org.apache.sshd.server.command.Command, org.apache.sshd.server.SessionAware
-
-
Constructor Summary
Constructors Constructor Description ShellImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()voidrun(org.apache.sshd.server.Environment env)voidsetErrorStream(OutputStream err)voidsetExitCallback(org.apache.sshd.server.ExitCallback callback)voidsetInputStream(InputStream in)voidsetOutputStream(OutputStream out)voidsetSession(org.apache.sshd.server.session.ServerSession session)voidstart(org.apache.sshd.server.Environment env)
-
-
-
Method Detail
-
setInputStream
public void setInputStream(InputStream in)
- Specified by:
setInputStreamin interfaceorg.apache.sshd.server.command.Command
-
setOutputStream
public void setOutputStream(OutputStream out)
- Specified by:
setOutputStreamin interfaceorg.apache.sshd.server.command.Command
-
setErrorStream
public void setErrorStream(OutputStream err)
- Specified by:
setErrorStreamin interfaceorg.apache.sshd.server.command.Command
-
setExitCallback
public void setExitCallback(org.apache.sshd.server.ExitCallback callback)
- Specified by:
setExitCallbackin interfaceorg.apache.sshd.server.command.Command
-
setSession
public void setSession(org.apache.sshd.server.session.ServerSession session)
- Specified by:
setSessionin interfaceorg.apache.sshd.server.SessionAware
-
start
public void start(org.apache.sshd.server.Environment env) throws IOException- Specified by:
startin interfaceorg.apache.sshd.server.command.CommandLifecycle- Throws:
IOException
-
destroy
public void destroy()
- Specified by:
destroyin interfaceorg.apache.sshd.server.command.CommandLifecycle
-
-