Class Shell


  • public class Shell
    extends Object
    Shell Class provides a way to execute USS commands via SSH connection
    Version:
    1.0
    Author:
    Frank Giordano
    • Constructor Detail

      • Shell

        public Shell​(SSHConnection connection)
        Shell constructor
        Parameters:
        connection - SSHConnection object
    • Method Detail

      • executeSshCwd

        public String executeSshCwd​(String command,
                                    int timeout)
                             throws Exception
        Executes USS command(s) specified within a string value
        Parameters:
        command - string value contain one or more USS commands
        timeout - int value in milliseconds for timeout duration on session connection
        Returns:
        string output value
        Throws:
        Exception - processing error