com.ibm.cics.server
Class DataHolder

java.lang.Object
  extended bycom.ibm.cics.server.DataHolder

public class DataHolder
extends java.lang.Object

This class holds an array of bytes that is the data read from a TDQ. The actual data is an instance variable of type byte[] with the name value.

The reason for this extra holder class is that the data is returned from a method and the return value of the method is used to indicate the number of items in the TDQ.

Version:
1.2
Author:
John Colgrave

Field Summary
 byte[] value
          The array of bytes comprising the item.
 
Constructor Summary
DataHolder()
          Constructs a DataHolder without a value.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

public byte[] value
The array of bytes comprising the item.

Constructor Detail

DataHolder

public DataHolder()
Constructs a DataHolder without a value.