com.ibm.jtopenlite.components
Class ListQSYSOPRMessages
- java.lang.Object
-
- com.ibm.jtopenlite.components.ListQSYSOPRMessages
-
public class ListQSYSOPRMessages extends java.lang.Object
Represents the information returned by the DSPMSG QSYSOPR command, but uses the OpenListOfMessages classes to obtain it.
-
-
Constructor Summary
Constructors Constructor and Description ListQSYSOPRMessages()
-
Method Summary
Methods Modifier and Type Method and Description MessageInfo[]
getMessages(CommandConnection conn)
Returns an array of messages, sorted by time, the way DSPMSG does.void
getMessages(CommandConnection conn, MessageInfoListener miListener)
-
-
-
Method Detail
-
getMessages
public MessageInfo[] getMessages(CommandConnection conn) throws java.io.IOException
Returns an array of messages, sorted by time, the way DSPMSG does. MessageInfo.toString() prints the message ID and text; MessageInfo.toString2() prints the message details the way F1 on a message does.- Parameters:
conn
- The connection to use.- Throws:
java.io.IOException
-
getMessages
public void getMessages(CommandConnection conn, MessageInfoListener miListener) throws java.io.IOException
- Throws:
java.io.IOException
-
-