public class CliShellFactory
extends java.lang.Object
implements org.apache.sshd.common.Factory<org.apache.sshd.server.command.Command>, org.apache.sshd.server.command.CommandFactory, org.apache.sshd.server.shell.ShellFactory
Modifier and Type | Class and Description |
---|---|
class |
CliShellFactory.JPosCLIShell |
class |
CliShellFactory.SshCLI |
Constructor and Description |
---|
CliShellFactory(Q2 q2,
java.lang.String[] prefixes) |
Modifier and Type | Method and Description |
---|---|
org.apache.sshd.server.command.Command |
create() |
org.apache.sshd.server.command.Command |
createCommand(org.apache.sshd.server.channel.ChannelSession channel,
java.lang.String command) |
org.apache.sshd.server.command.Command |
createShell(org.apache.sshd.server.channel.ChannelSession channel) |
public CliShellFactory(Q2 q2, java.lang.String[] prefixes)
public org.apache.sshd.server.command.Command create()
create
in interface org.apache.sshd.common.Factory<org.apache.sshd.server.command.Command>
public org.apache.sshd.server.command.Command createCommand(org.apache.sshd.server.channel.ChannelSession channel, java.lang.String command)
createCommand
in interface org.apache.sshd.server.command.CommandFactory
public org.apache.sshd.server.command.Command createShell(org.apache.sshd.server.channel.ChannelSession channel)
createShell
in interface org.apache.sshd.server.shell.ShellFactory