public class GetListEntries extends java.lang.Object implements OpenListProgram<ListEntryFormat,ListFormatListener>
| Constructor and Description |
|---|
GetListEntries() |
GetListEntries(int lengthOfReceiverVariable,
byte[] requestHandle,
int recordLength,
int numberOfRecordsToReturn,
int startingRecord,
ListEntryFormat formatter,
ListFormatListener listener) |
| Modifier and Type | Method and Description |
|---|---|
ListFormatListener |
getFormatListener()
The format listener gets called by the formatter once the output data has been formatted.
|
ListEntryFormat |
getFormatter()
The formatter is the class that handles formatting the output data for each entry in the list.
|
int |
getLengthOfReceiverVariable() |
ListInformation |
getListInformation() |
int |
getNumberOfParameters()
Returns the number of parameters for this program.
|
int |
getNumberOfRecordsToReturn() |
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 |
getRecordLength() |
byte[] |
getRequestHandle() |
int |
getStartingRecord() |
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 |
setFormatListener(ListFormatListener listener) |
void |
setFormatter(ListEntryFormat formatter) |
void |
setLengthOfReceiverVariable(int length) |
void |
setNumberOfRecordsToReturn(int numberOfRecordsToReturn) |
void |
setParameterOutputData(int parmIndex,
byte[] tempData,
int maxLength)
Sets the output data for the parameter at the specified index.
|
void |
setRecordLength(int recordLength) |
void |
setRequestHandle(byte[] requestHandle) |
void |
setStartingRecord(int startingRecord) |
public GetListEntries()
public GetListEntries(int lengthOfReceiverVariable,
byte[] requestHandle,
int recordLength,
int numberOfRecordsToReturn,
int startingRecord,
ListEntryFormat formatter,
ListFormatListener listener)
public 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 ListEntryFormat getFormatter()
OpenListProgramgetFormatter in interface OpenListProgram<ListEntryFormat,ListFormatListener>public void setFormatter(ListEntryFormat formatter)
setFormatter in interface OpenListProgram<ListEntryFormat,ListFormatListener>public ListFormatListener getFormatListener()
OpenListProgramgetFormatListener in interface OpenListProgram<ListEntryFormat,ListFormatListener>public void setFormatListener(ListFormatListener listener)
setFormatListener in interface OpenListProgram<ListEntryFormat,ListFormatListener>public int getLengthOfReceiverVariable()
public void setLengthOfReceiverVariable(int length)
public ListInformation getListInformation()
getListInformation in interface OpenListProgram<ListEntryFormat,ListFormatListener>public byte[] getRequestHandle()
public void setRequestHandle(byte[] requestHandle)
public int getRecordLength()
public void setRecordLength(int recordLength)
public int getNumberOfRecordsToReturn()
public void setNumberOfRecordsToReturn(int numberOfRecordsToReturn)
public int getStartingRecord()
public void setStartingRecord(int startingRecord)
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 final byte[] getTempDataBuffer()
ProgramgetTempDataBuffer in interface Programpublic byte[] getParameterInputData(int parmIndex)
ProgramgetParameterInputData in interface Programpublic void setParameterOutputData(int parmIndex,
byte[] tempData,
int maxLength)
ProgramsetParameterOutputData in interface Program