Constructor and Description |
---|
RetrieveUserSpace(java.lang.String userSpaceName,
java.lang.String userSpaceLibrary,
int startingPosition,
int lengthOfData) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getContents() |
int |
getLengthOfData() |
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.
|
int |
getStartingPosition() |
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.
|
java.lang.String |
getUserSpaceLibrary() |
java.lang.String |
getUserSpaceName() |
void |
newCall()
Invoked before any other methods on this interface by CommandConnection whenever this Program is called.
|
void |
setLengthOfData(int len) |
void |
setParameterOutputData(int parmIndex,
byte[] tempData,
int maxLength)
Sets the output data for the parameter at the specified index.
|
void |
setStartingPosition(int pos) |
void |
setUserSpaceLibrary(java.lang.String lib) |
void |
setUserSpaceName(java.lang.String name) |
public RetrieveUserSpace(java.lang.String userSpaceName, java.lang.String userSpaceLibrary, int startingPosition, int lengthOfData)
public java.lang.String getUserSpaceName()
public void setUserSpaceName(java.lang.String name)
public java.lang.String getUserSpaceLibrary()
public void setUserSpaceLibrary(java.lang.String lib)
public int getStartingPosition()
public void setStartingPosition(int pos)
public int getLengthOfData()
public void setLengthOfData(int len)
public byte[] getContents()
public void newCall()
Program
public int getNumberOfParameters()
Program
getNumberOfParameters
in interface Program
public int getParameterInputLength(int parmIndex)
Program
getParameterInputLength
in interface Program
public int getParameterOutputLength(int parmIndex)
Program
getParameterOutputLength
in interface Program
public int getParameterType(int parmIndex)
Program
getParameterType
in interface Program
Parameter
public byte[] getParameterInputData(int parmIndex)
Program
getParameterInputData
in interface Program
public byte[] getTempDataBuffer()
Program
getTempDataBuffer
in interface Program
public void setParameterOutputData(int parmIndex, byte[] tempData, int maxLength)
Program
setParameterOutputData
in interface Program
public java.lang.String getProgramName()
Program
getProgramName
in interface Program
public java.lang.String getProgramLibrary()
Program
getProgramLibrary
in interface Program