com.ibm.as400.access
Class DataQueueEntry

java.lang.Object
  extended bycom.ibm.as400.access.DataQueueEntry
Direct Known Subclasses:
KeyedDataQueueEntry

public class DataQueueEntry
extends Object

The DataQueueEntry class represents an entry on an iSeries server data queue.


Method Summary
 byte[] getData()
          Returns the data for this data queue entry.
 String getSenderInformation()
          Returns the sender information for this data queue entry.
 String getString()
          Returns the data for this data queue entry as a string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getData

public byte[] getData()
Returns the data for this data queue entry.

Returns:
The data for this data queue entry.

getString

public String getString()
                 throws UnsupportedEncodingException
Returns the data for this data queue entry as a string.

Returns:
The data for this data queue entry as a string.
Throws:
UnsupportedEncodingException - If the ccsid is not supported.

getSenderInformation

public String getSenderInformation()
Returns the sender information for this data queue entry. If sender information is not available for this entry, an empty String ("") is returned.

Returns:
The data for this data queue entry.