com.ibm.cics.server
Class CommAreaHolder
java.lang.Object
|
+--com.ibm.cics.server.CommAreaHolder
- All Implemented Interfaces:
- java.io.Serializable
- public class CommAreaHolder
- extends java.lang.Object
- implements java.io.Serializable
The class that represents a COMMAREA.
The actual COMMAREA is an instance variable of type byte[]
with the name value
.
The reason for this extra holder class is that a COMMAREA is used both
for input and output so the extra level of indirection is needed as Java
only passes arguments by value. On input, value contains the
COMMAREA that is being passed in to the program; the program returns a
COMMAREA by setting value
to a new byte[]
that it
has constructed.
- See Also:
- Serialized Form
Field Summary |
byte[] |
value
The array of bytes comprising the COMMAREA. |
Constructor Summary |
CommAreaHolder()
Constructs a CommAreaHolder without a value. |
CommAreaHolder(byte[] __arg)
Constructs a CommAreaHolder for an existing
byte[] . |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
value
public byte[] value
- The array of bytes comprising the COMMAREA.
CommAreaHolder
public CommAreaHolder()
- Constructs a
CommAreaHolder
without a value.
CommAreaHolder
public CommAreaHolder(byte[] __arg)
- Constructs a
CommAreaHolder
for an existing
byte[]
.
- Parameters:
__arg
- The existing array of bytes that is to be used as the
COMMAREA.