Class CliShellFactory

  • All Implemented Interfaces:
    java.util.function.Supplier<org.apache.sshd.server.command.Command>, org.apache.sshd.common.Factory<org.apache.sshd.server.command.Command>, org.apache.sshd.server.command.CommandFactory, org.apache.sshd.server.shell.ShellFactory

    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
    • Constructor Summary

      Constructors 
      Constructor Description
      CliShellFactory​(Q2 q2, java.lang.String[] prefixes)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.apache.sshd.common.Factory

        get
    • Constructor Detail

    • Method Detail

      • create

        public org.apache.sshd.server.command.Command create()
        Specified by:
        create in interface org.apache.sshd.common.Factory<org.apache.sshd.server.command.Command>
      • createCommand

        public org.apache.sshd.server.command.Command createCommand​(org.apache.sshd.server.channel.ChannelSession channel,
                                                                    java.lang.String command)
        Specified by:
        createCommand in interface org.apache.sshd.server.command.CommandFactory
      • createShell

        public org.apache.sshd.server.command.Command createShell​(org.apache.sshd.server.channel.ChannelSession channel)
        Specified by:
        createShell in interface org.apache.sshd.server.shell.ShellFactory