|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.jtopenlite.command.program.message.OpenListOfMessages
public class OpenListOfMessages
QGYOLMSG This class fully implements the V5R4 specification of QGYOLMSG.
Constructor Summary | |
---|---|
OpenListOfMessages()
|
|
OpenListOfMessages(int lengthOfReceiverVariable,
int numberOfRecordsToReturn,
String sortInformation,
String userOrQueueIndicator,
String userOrQueueName,
String queueLibrary,
OpenListOfMessagesLSTM0100 format)
|
Method Summary | |
---|---|
OpenListOfMessagesLSTM0100Listener |
getFormatListener()
The format listener gets called by the formatter once the output data has been formatted. |
OpenListOfMessagesLSTM0100 |
getFormatter()
The formatter is the class that handles formatting the output data for each entry in the list. |
int |
getLengthOfReceiverVariable()
|
ListInformation |
getListInformation()
|
String |
getMessageQueue1()
|
String |
getMessageQueue2()
|
int |
getNumberOfParameters()
Returns the number of parameters for this program. |
int |
getNumberOfQueuesUsed()
|
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. |
String |
getProgramLibrary()
Returns the library of the program object. |
String |
getProgramName()
Returns the name of the program object. |
String |
getQueueLibrary()
|
OpenListOfMessagesSelectionListener |
getSelectionListener()
|
String |
getSortInformation()
|
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. |
String |
getUserOrQueueIndicator()
|
String |
getUserOrQueueName()
|
void |
newCall()
Invoked before any other methods on this interface by CommandConnection whenever this Program is called. |
void |
setFormatListener(OpenListOfMessagesLSTM0100Listener listener)
|
void |
setFormatter(OpenListOfMessagesLSTM0100 format)
|
void |
setLengthOfReceiverVariable(int length)
|
void |
setNumberOfRecordsToReturn(int numberOfRecordsToReturn)
|
void |
setParameterOutputData(int parmIndex,
byte[] data,
int maxLength)
Sets the output data for the parameter at the specified index. |
void |
setQueueLibrary(String s)
|
void |
setSelectionListener(OpenListOfMessagesSelectionListener listener)
|
void |
setSortInformation(String s)
|
void |
setUserOrQueueIndicator(String s)
|
void |
setUserOrQueueName(String s)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OpenListOfMessages()
public OpenListOfMessages(int lengthOfReceiverVariable, int numberOfRecordsToReturn, String sortInformation, String userOrQueueIndicator, String userOrQueueName, String queueLibrary, OpenListOfMessagesLSTM0100 format)
Method Detail |
---|
public OpenListOfMessagesLSTM0100Listener getFormatListener()
OpenListProgram
getFormatListener
in interface OpenListProgram<OpenListOfMessagesLSTM0100,OpenListOfMessagesLSTM0100Listener>
public void setFormatListener(OpenListOfMessagesLSTM0100Listener listener)
setFormatListener
in interface OpenListProgram<OpenListOfMessagesLSTM0100,OpenListOfMessagesLSTM0100Listener>
public String getProgramName()
Program
getProgramName
in interface Program
public String getProgramLibrary()
Program
getProgramLibrary
in interface Program
public int getNumberOfParameters()
Program
getNumberOfParameters
in interface Program
public final byte[] getTempDataBuffer()
Program
getTempDataBuffer
in interface Program
public OpenListOfMessagesSelectionListener getSelectionListener()
public void setSelectionListener(OpenListOfMessagesSelectionListener listener)
public OpenListOfMessagesLSTM0100 getFormatter()
OpenListProgram
getFormatter
in interface OpenListProgram<OpenListOfMessagesLSTM0100,OpenListOfMessagesLSTM0100Listener>
public void setFormatter(OpenListOfMessagesLSTM0100 format)
setFormatter
in interface OpenListProgram<OpenListOfMessagesLSTM0100,OpenListOfMessagesLSTM0100Listener>
public void newCall()
Program
newCall
in interface Program
public ListInformation getListInformation()
getListInformation
in interface OpenListProgram<OpenListOfMessagesLSTM0100,OpenListOfMessagesLSTM0100Listener>
public int getLengthOfReceiverVariable()
public void setLengthOfReceiverVariable(int length)
public int getNumberOfRecordsToReturn()
public void setNumberOfRecordsToReturn(int numberOfRecordsToReturn)
public String getSortInformation()
public void setSortInformation(String s)
public String getUserOrQueueIndicator()
public void setUserOrQueueIndicator(String s)
public String getUserOrQueueName()
public void setUserOrQueueName(String s)
public String getQueueLibrary()
public void setQueueLibrary(String s)
public int getNumberOfQueuesUsed()
public String getMessageQueue1()
public String getMessageQueue2()
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 setParameterOutputData(int parmIndex, byte[] data, int maxLength)
Program
setParameterOutputData
in interface Program
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |