com.ibm.jtopenlite.command

Class InputOutputParameter



  • public class InputOutputParameter
    extends Parameter
    Represents a program parameter to be used as both input and output.
    • Constructor Detail

      • InputOutputParameter

        public InputOutputParameter(byte[] inputData,
                            int outputLength)
        Constructs a parameter with the provided input data and output length.
    • Method Detail

      • getInputData

        public byte[] getInputData()
        Returns the input data.
        Overrides:
        getInputData in class Parameter
      • getInputLength

        public int getInputLength()
        Returns the input length.
        Overrides:
        getInputLength in class Parameter
      • getOutputLength

        public int getOutputLength()
        Returns the output length.
        Overrides:
        getOutputLength in class Parameter
      • getMaxLength

        public int getMaxLength()
        Returns the maximum of the output length and input length of this parameter.
        Overrides:
        getMaxLength in class Parameter
      • getOutputData

        public byte[] getOutputData()
        Returns the output data.
        Overrides:
        getOutputData in class Parameter