public class Channel
extends java.lang.Object
This is the Java implementation of CICS Channels
| Modifier and Type | Method and Description |
|---|---|
ContainerIterator |
containerIterator()
Create a ContainerIterator for the Channel
|
Container |
createContainer(java.lang.String containerName)
Create a Container in this Channel.
|
void |
deleteContainer(java.lang.String containerName)
Delete a Container from this Channel
|
Container |
getContainer(java.lang.String containerName)
Get a Container by name from this Channel.
|
java.lang.String |
getName()
Get the name of the Channel as known to CICS
|
public Container createContainer(java.lang.String containerName) throws ContainerErrorException, ChannelErrorException
Container.put(byte[]).containerName - the name of the new ContainerContainerErrorException - CONTAINERERRChannelErrorException - CHANNELERRpublic Container getContainer(java.lang.String containerName) throws ContainerErrorException
createContainer(String)
creates a proxy object.containerName - the name of the Container to be foundContainerErrorException - CONTAINERERRpublic void deleteContainer(java.lang.String containerName)
throws ContainerErrorException,
ChannelErrorException,
CCSIDErrorException,
CodePageErrorException,
InvalidRequestException
containerName - the name of the Container to be deletedContainerErrorException - CONTAINERERRChannelErrorException - CHANNELERRInvalidRequestException - INVREQCodePageErrorException - CODEPAGEERRCCSIDErrorException - CCSIDERRpublic java.lang.String getName()
public ContainerIterator containerIterator()