Class SshCommandFactory

    • Constructor Detail

      • SshCommandFactory

        public SshCommandFactory()
    • Method Detail

      • create

        public abstract org.apache.sshd.server.command.Command create​(SshCommandFactory.CommandLine commandLine)
        If this factory understands the specified command, return a non-null Command and that command will be used to handle the request. Otherwise return null to let other SshCommandFactorys handle it.
        Parameters:
        commandLine - Represents the command line the client wants to invoke.