Package org.apache.sshd.server.shell
Interface ShellFactory
-
- All Known Implementing Classes:
AggregateShellFactory
,InteractiveProcessShellFactory
,ProcessShellFactory
public interface ShellFactory
Shell(s) are executed on the server side when a "shell" channel is established- Author:
- Apache MINA SSHD Project
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Command
createShell(ChannelSession channel)
-
-
-
Method Detail
-
createShell
Command createShell(ChannelSession channel) throws IOException
- Parameters:
channel
- TheChannelSession
through which the command has been received- Returns:
- The
Command
representing the shell to be executed - Throws:
IOException
- If failed to create the shell
-
-