com.ibm.as400.access

Class DataQueueEntry

  • java.lang.Object
    • com.ibm.as400.access.DataQueueEntry
  • Direct Known Subclasses:
    KeyedDataQueueEntry


    public class DataQueueEntry
    extends java.lang.Object
    The DataQueueEntry class represents an entry on a data queue.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      byte[] getData()
      Returns the data for this data queue entry.
      java.lang.String getSenderInformation()
      Returns the sender information for this data queue entry.
      java.lang.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 java.lang.String getString()
                                   throws java.io.UnsupportedEncodingException
        Returns the data for this data queue entry as a string.
        Returns:
        The data for this data queue entry as a string.
        Throws:
        java.io.UnsupportedEncodingException - If the ccsid is not supported.
      • getSenderInformation

        public java.lang.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.