com.ibm.cics.server
Class Container

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

public class Container
extends java.lang.Object

This is the Java implementation of CICS Containers


Method Summary
 void delete()
          Delete the Container in CICS, and remove it from the owning Channel.
 byte[] get()
          Get the data from the Container.
 int getLength()
          Get the length of the data in the Container.
 java.lang.String getName()
          Get the name of the Container as known to CICS.
 void put(byte[] byteArrayData)
          Put some byte[] array data into the Container.
 void put(java.lang.String stringData)
          Put some String data into the Container.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getName

public java.lang.String getName()
Get the name of the Container as known to CICS.

Returns:
The name of the Container.

get

public byte[] get()
           throws ContainerErrorException,
                  ChannelErrorException,
                  CCSIDErrorException
Get the data from the Container.

Returns:
byte[] array comprising the Container data.
Throws:
ContainerErrorException
ChannelErrorException
CCSIDErrorException

getLength

public int getLength()
              throws ContainerErrorException,
                     ChannelErrorException,
                     CCSIDErrorException
Get the length of the data in the Container.

Returns:
The length of the data in the Container.
Throws:
ContainerErrorException
ChannelErrorException
CCSIDErrorException

put

public void put(byte[] byteArrayData)
         throws ContainerErrorException,
                ChannelErrorException,
                InvalidRequestException
Put some byte[] array data into the Container.

Throws:
ContainerErrorException
ChannelErrorException
InvalidRequestException

put

public void put(java.lang.String stringData)
         throws ContainerErrorException,
                ChannelErrorException,
                InvalidRequestException
Put some String data into the Container.

Throws:
ContainerErrorException
ChannelErrorException
InvalidRequestException

delete

public void delete()
            throws ContainerErrorException,
                   ChannelErrorException,
                   InvalidRequestException
Delete the Container in CICS, and remove it from the owning Channel.

Throws:
ContainerErrorException
ChannelErrorException
InvalidRequestException