com.ibm.jtopenlite.components
Class ListQSYSOPRMessages
java.lang.Object
com.ibm.jtopenlite.components.ListQSYSOPRMessages
public class ListQSYSOPRMessages
- extends Object
Represents the information returned by the DSPMSG QSYSOPR command, but uses the OpenListOfMessages classes to obtain it.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListQSYSOPRMessages
public ListQSYSOPRMessages()
getMessages
public MessageInfo[] getMessages(CommandConnection conn)
throws 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:
IOException