psdi.iface.router

Interface SSHExit

  • All Known Implementing Classes:
    DefaultSSHExit


    public interface SSHExit
    SSH exit interface.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      byte[] createResponse(com.ibm.tivoli.remoteaccess.ProgramOutput output)
      Process the service invoke command output and returns in byte array.
      java.lang.String getEnvSetupCmd(byte[] data)
      Returns the Environment setup command.
      java.lang.String getServiceInvokeCmd(byte[] data)
      Returns the service invoke command from document.
      java.lang.String getWorkingDir(byte[] data)
      Returns the Working directory (absolute path).
    • Method Detail

      • createResponse

        byte[] createResponse(com.ibm.tivoli.remoteaccess.ProgramOutput output)
                       throws MXException
        Process the service invoke command output and returns in byte array.
        Parameters:
        output - Response object from sevice invoke command on remote host.
        Returns:
        byte[] Returns byte array of response XML.
        Throws:
        MXException
      • getServiceInvokeCmd

        java.lang.String getServiceInvokeCmd(byte[] data)
                                      throws MXException
        Returns the service invoke command from document.
        Parameters:
        data - input XML in byte[].
        Returns:
        service invoke cmd
        Throws:
        MXException
      • getEnvSetupCmd

        java.lang.String getEnvSetupCmd(byte[] data)
                                 throws MXException
        Returns the Environment setup command.
        Parameters:
        data - input xml in byte[].
        Returns:
        value env setup command.
        Throws:
        MXException
      • getWorkingDir

        java.lang.String getWorkingDir(byte[] data)
                                throws MXException
        Returns the Working directory (absolute path).
        Parameters:
        data - input xml in byte[].
        Returns:
        value env setup command.
        Throws:
        MXException