public interface ShellFactory
Modifier and Type | Method and Description |
---|---|
Command |
createShell(ChannelSession channel) |
Command createShell(ChannelSession channel) throws java.io.IOException
channel
- The ChannelSession
through which the command has been receivedCommand
representing the shell to be executedjava.io.IOException
- If failed to create the shell