| 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()
ProgramgetTempDataBuffer in interface Programpublic java.lang.String getProgramName()
ProgramgetProgramName in interface Programpublic java.lang.String getProgramLibrary()
ProgramgetProgramLibrary in interface Programpublic int getNumberOfParameters()
ProgramgetNumberOfParameters in interface Programpublic void newCall()
Programpublic 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)
ProgramgetParameterInputLength in interface Programpublic int getParameterOutputLength(int parmIndex)
ProgramgetParameterOutputLength in interface Programpublic int getParameterType(int parmIndex)
ProgramgetParameterType in interface ProgramParameterpublic byte[] getParameterInputData(int parmIndex)
ProgramgetParameterInputData in interface Programpublic void setKeyDataListener(JobKeyDataListener listener)
public void setLibraryListener(RetrieveCurrentAttributesLibraryListener listener)
public void setASPGroupListener(RetrieveCurrentAttributesASPGroupListener listener)
public void setParameterOutputData(int parmIndex,
byte[] data,
int maxLength)
ProgramsetParameterOutputData in interface Program