Class SshRequest

  • All Implemented Interfaces:
    SshMessage

    public class SshRequest
    extends Object
    implements SshMessage
    POJO encapsulating an SSH request. It is immutable.
    Since:
    1.3
    Author:
    Roland Huss
    • Field Detail

      • command

        protected String command
      • stdin

        protected String stdin
    • Constructor Detail

      • SshRequest

        public SshRequest()
        Default constructor.
      • SshRequest

        public SshRequest​(String pCommand,
                          String pInput)
        Constructor using fields.
        Parameters:
        pCommand -
        pInput -
    • Method Detail

      • getCommand

        public String getCommand()
        Gets the command.
        Returns:
        the command the command to get.
      • getStdin

        public String getStdin()
        Gets the stdin.
        Returns:
        the stdin the stdin to get.