com.ibm.cics.server
Class DataHolder

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

Since CICS TS version:
1.3
Since package version:
1.0

Field Summary
 byte[] value
          The array of bytes comprising the item.
 
Constructor Summary
DataHolder()
          Constructs a DataHolder without a value.
 
Method Summary
 
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.

Since CICS TS version:
1.3
Since package version:
1.0
Constructor Detail

DataHolder

public DataHolder()
Constructs a DataHolder without a value.

Since CICS TS version:
1.3
Since package version:
1.0