Class TSQImpl
java.lang.Object
com.softwaremining.vendors.cics.queue.TSQImpl
- All Implemented Interfaces:
TSQInterface
Softwaremining's equivalent implementation of CICS TSQ .
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetQueue
(CicsBaseService service, String queueName, boolean createIfNotFound, ISMObject responseField, int queueType, int storageType) Queue Factory ...static void
releaseSessionResources
(CicsBaseService service) The system will not know when it would be safe to release associated resources.
-
Constructor Details
-
TSQImpl
public TSQImpl()
-
-
Method Details
-
getQueue
public IQueueStorage getQueue(CicsBaseService service, String queueName, boolean createIfNotFound, ISMObject responseField, int queueType, int storageType) Queue Factory ... Get queue.- Specified by:
getQueue
in interfaceTSQInterface
- Parameters:
service
- ... program who makes the call.queueName
- .. name of the queuecreateIfNotFound
- . When set to FALSE Throws Exceptions when no queue with this name is found. When set to True, it creates if non foundresponseField
- ... errors are indicated using ResponseCode field rather than Exception thrown. When NULL, and there is problems, then the "service" condition handler is also invoked.queueType
- : TYPE_TEMPORARY_STORAGE (TS), or TYPE_TRANSIENT_STORAGE (TD)StorageType
- ... MAIN (for MemoeryQueue), AUXILARY/DEFAULT (Persistent)- Returns:
- QueueStorage
-
releaseSessionResources
The system will not know when it would be safe to release associated resources. Hence this has to be be called manually:
-