Modifier and Type | Field and Description |
---|---|
static int |
FORMAT_RTVC0100 |
static int |
FORMAT_RTVC0200 |
static int |
FORMAT_RTVC0300 |
Constructor and Description |
---|
RetrieveCurrentAttributes(int format,
int lengthOfReceiverVariable,
int[] attributesToReturn) |
Modifier and Type | Method and Description |
---|---|
int[] |
getAttributesToReturn() |
int |
getBytesAvailable() |
int |
getBytesReturned() |
int |
getFormat() |
int |
getLengthOfReceiverVariable() |
int |
getNumberOfASPGroups() |
int |
getNumberOfAttributesReturned() |
int |
getNumberOfParameters()
Returns the number of parameters for this program.
|
int |
getNumberOfProductLibraries() |
int |
getNumberOfSystemLibraries() |
int |
getNumberOfUserLibraries() |
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.
|
boolean |
hasCurrentLibrary() |
void |
newCall()
Invoked before any other methods on this interface by CommandConnection whenever this Program is called.
|
void |
setASPGroupListener(RetrieveCurrentAttributesASPGroupListener listener) |
void |
setAttributesToReturn(int[] attributesToReturn) |
void |
setFormat(int format) |
void |
setKeyDataListener(JobKeyDataListener listener) |
void |
setLengthOfReceiverVariable(int lengthOfReceiverVariable) |
void |
setLibraryListener(RetrieveCurrentAttributesLibraryListener listener) |
void |
setParameterOutputData(int parmIndex,
byte[] data,
int maxLength)
Sets the output data for the parameter at the specified index.
|
public static final int FORMAT_RTVC0100
public static final int FORMAT_RTVC0200
public static final int FORMAT_RTVC0300
public RetrieveCurrentAttributes(int format, int lengthOfReceiverVariable, int[] attributesToReturn)
public final byte[] getTempDataBuffer()
Program
getTempDataBuffer
in interface Program
public java.lang.String getProgramName()
Program
getProgramName
in interface Program
public java.lang.String getProgramLibrary()
Program
getProgramLibrary
in interface Program
public int getNumberOfParameters()
Program
getNumberOfParameters
in interface Program
public void newCall()
Program
public void setFormat(int format)
public int getFormat()
public int getLengthOfReceiverVariable()
public void setLengthOfReceiverVariable(int lengthOfReceiverVariable)
public int[] getAttributesToReturn()
public void setAttributesToReturn(int[] attributesToReturn)
public int getNumberOfAttributesReturned()
public int getBytesAvailable()
public int getBytesReturned()
public int getNumberOfSystemLibraries()
public int getNumberOfProductLibraries()
public boolean hasCurrentLibrary()
public int getNumberOfUserLibraries()
public int getNumberOfASPGroups()
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 void setKeyDataListener(JobKeyDataListener listener)
public void setLibraryListener(RetrieveCurrentAttributesLibraryListener listener)
public void setASPGroupListener(RetrieveCurrentAttributesASPGroupListener listener)
public void setParameterOutputData(int parmIndex, byte[] data, int maxLength)
Program
setParameterOutputData
in interface Program