| Modifier | Constructor and Description | 
|---|---|
| protected  | ProgramAdapter(java.lang.String library,
              java.lang.String name,
              int numberOfParameters) | 
| Modifier and Type | Method and Description | 
|---|---|
| int | getNumberOfParameters()Returns the number of parameters for this program. | 
| byte[] | getParameterInputData(int parmIndex)Returns the input data of the parameter at the specified index. | 
| int | getParameterInputLength(int parmIndex)Returns the input length of the parameter at the specified index. | 
| int | getParameterOutputLength(int parmIndex)Returns the output length of the parameter at the specified index. | 
| int | getParameterType(int parmIndex)Returns the type of parameter at the specified index. | 
| java.lang.String | getProgramLibrary()Returns the library of the program object. | 
| java.lang.String | getProgramName()Returns the name of the program object. | 
| byte[] | getTempDataBuffer()The implementor can create their own temp byte array for the output parameter size and reuse it each time a call is performed,
 or for more than one parameter on the same call. | 
| void | newCall()Invoked before any other methods on this interface by CommandConnection whenever this Program is called. | 
| void | setParameterOutputData(int parmIndex,
                      byte[] tempData,
                      int maxLength)Sets the output data for the parameter at the specified index. | 
protected ProgramAdapter(java.lang.String library,
              java.lang.String name,
              int numberOfParameters)
public final void newCall()
Programpublic final java.lang.String getProgramLibrary()
ProgramgetProgramLibrary in interface Programpublic final java.lang.String getProgramName()
ProgramgetProgramName in interface Programpublic final int getNumberOfParameters()
ProgramgetNumberOfParameters in interface Programpublic final int getParameterType(int parmIndex)
ProgramgetParameterType in interface ProgramParameterpublic final int getParameterInputLength(int parmIndex)
ProgramgetParameterInputLength in interface Programpublic final int getParameterOutputLength(int parmIndex)
ProgramgetParameterOutputLength in interface Programpublic final byte[] getParameterInputData(int parmIndex)
ProgramgetParameterInputData in interface Programpublic final void setParameterOutputData(int parmIndex,
                          byte[] tempData,
                          int maxLength)
ProgramsetParameterOutputData in interface Programpublic final byte[] getTempDataBuffer()
ProgramgetTempDataBuffer in interface Program