public class Channel extends API
This is the Java implementation of CICS Channels
com.ibm.cics.server.API for general restrictions on using the JCICS API.| 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 |
delete()
Delete the Channel and all of its Containers
|
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.
|
int |
getContainerCount()
Get the container count for 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
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()
public void delete()
throws ChannelErrorException
ChannelErrorException - CHANNELERRpublic int getContainerCount()
throws ChannelErrorException
ChannelErrorException - CHANNELERR