com.ibm.jtopenlite.components
Class ListQSYSOPRMessages

java.lang.Object
  extended by 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.


Constructor Summary
ListQSYSOPRMessages()
           
 
Method Summary
 MessageInfo[] getMessages(CommandConnection conn)
          Returns an array of messages, sorted by time, the way DSPMSG does.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListQSYSOPRMessages

public ListQSYSOPRMessages()
Method Detail

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