Package com.softwaremining.mq.smmq
Class MQImpl
java.lang.Object
com.softwaremining.mq.smmq.MQImpl
- All Implemented Interfaces:
MQInterface
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintclose(IBaseService baseService, double hcConn, ISMDataType handleObj, double options, ISMNumeric completionCode, ISMNumeric reason) MQCLOSEintconnect(IBaseService baseService, ISMNumeric hcConn, ISMNumeric completionCode, ISMNumeric reason) MQCONN NOTE: On z/OS, CICS applications do not have to issue this call.intconnect(IBaseService baseService, String queueManager, ISMNumeric hcConn, ISMNumeric completionCode, ISMNumeric reason) MQCONN NOTE: On z/OS, CICS applications do not have to issue this call.intdisconnect(IBaseService baseService, double hcConn, ISMNumeric completionCode, ISMNumeric reason) NOTE: On z/OS, CICS applications do not have to issue this call.intget(IBaseService baseService, double hcConn, double hObj, ISMDataType queueObjectName, ISMDataType msgOpts, double bufferLength, ISMDataType buffer, ISMNumeric dataLength, ISMNumeric completionCode, ISMNumeric reason) MQGETintopen(IBaseService baseService, double hcConn, ISMDataType queueObjectName, double options, double objRequestq, ISMNumeric completionCode, ISMNumeric reason) MQOPENintput(IBaseService baseService, double hcConn, double hObj, ISMDataType queueObjectName, ISMDataType msgOpts, double bufferLength, String buffer, ISMNumeric completionCode, ISMNumeric reason) MQPUT
-
Constructor Details
-
MQImpl
public MQImpl()
-
-
Method Details
-
connect
public int connect(IBaseService baseService, String queueManager, ISMNumeric hcConn, ISMNumeric completionCode, ISMNumeric reason) Description copied from interface:MQInterfaceMQCONN NOTE: On z/OS, CICS applications do not have to issue this call. These applications are connected automatically to the queue manager to which the CICS system is connected. However, the MQCONN and MQDISC calls are still accepted from CICS applications.- Specified by:
connectin interfaceMQInterface
-
connect
public int connect(IBaseService baseService, ISMNumeric hcConn, ISMNumeric completionCode, ISMNumeric reason) Description copied from interface:MQInterfaceMQCONN NOTE: On z/OS, CICS applications do not have to issue this call. These applications are connected automatically to the queue manager to which the CICS system is connected. However, the MQCONN and MQDISC calls are still accepted from CICS applications.- Specified by:
connectin interfaceMQInterface
-
open
public int open(IBaseService baseService, double hcConn, ISMDataType queueObjectName, double options, double objRequestq, ISMNumeric completionCode, ISMNumeric reason) Description copied from interface:MQInterfaceMQOPEN- Specified by:
openin interfaceMQInterfacequeueObjectName- - 4 types: Queue (or Namelists, Process definition, Queue Manager) there are 3 types of queues: LOCAL , REMOTE or DYNAMIC. Local and remote queues represent actual queues defined in the queue manager from an administrative prospective. They differ mostly in the way the name of the queue can be specified in the ObjectName field of the MQOD data structure- Returns:
-
close
public int close(IBaseService baseService, double hcConn, ISMDataType handleObj, double options, ISMNumeric completionCode, ISMNumeric reason) Description copied from interface:MQInterfaceMQCLOSE- Specified by:
closein interfaceMQInterface
-
get
public int get(IBaseService baseService, double hcConn, double hObj, ISMDataType queueObjectName, ISMDataType msgOpts, double bufferLength, ISMDataType buffer, ISMNumeric dataLength, ISMNumeric completionCode, ISMNumeric reason) Description copied from interface:MQInterfaceMQGET- Specified by:
getin interfaceMQInterface
-
put
public int put(IBaseService baseService, double hcConn, double hObj, ISMDataType queueObjectName, ISMDataType msgOpts, double bufferLength, String buffer, ISMNumeric completionCode, ISMNumeric reason) Description copied from interface:MQInterfaceMQPUT- Specified by:
putin interfaceMQInterface
-
disconnect
public int disconnect(IBaseService baseService, double hcConn, ISMNumeric completionCode, ISMNumeric reason) Description copied from interface:MQInterfaceNOTE: On z/OS, CICS applications do not have to issue this call. These applications are connected automatically to the queue manager to which the CICS system is connected. However, the MQCONN and MQDISC calls are still accepted from CICS applications.- Specified by:
disconnectin interfaceMQInterface
-