com.ibm.as400.access
Class KeyedDataQueueEntry

java.lang.Object
  extended bycom.ibm.as400.access.DataQueueEntry
      extended bycom.ibm.as400.access.KeyedDataQueueEntry

public class KeyedDataQueueEntry
extends DataQueueEntry

The KeyedDataQueueEntry class represents an entry on a keyed data queue.


Method Summary
 byte[] getKey()
          Returns the key for this data queue entry.
 String getKeyString()
          Returns the key for this data queue entry as a string.
 
Methods inherited from class com.ibm.as400.access.DataQueueEntry
getData, getSenderInformation, getString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getKey

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

Returns:
The key for this data queue entry.

getKeyString

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

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