Class MQImpl

java.lang.Object
com.softwaremining.mq.smmq.MQImpl
All Implemented Interfaces:
MQInterface

public class MQImpl extends Object implements MQInterface
  • 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: MQInterface
      MQCONN 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:
      connect in interface MQInterface
    • connect

      public int connect(IBaseService baseService, ISMNumeric hcConn, ISMNumeric completionCode, ISMNumeric reason)
      Description copied from interface: MQInterface
      MQCONN 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:
      connect in interface MQInterface
    • open

      public int open(IBaseService baseService, double hcConn, ISMDataType queueObjectName, double options, double objRequestq, ISMNumeric completionCode, ISMNumeric reason)
      Description copied from interface: MQInterface
      MQOPEN
      Specified by:
      open in interface MQInterface
      Parameters:
      hcConn -
      queueObjectName - - 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
      options -
      objRequestq -
      completionCode -
      reason -
      Returns:
    • close

      public int close(IBaseService baseService, double hcConn, ISMDataType handleObj, double options, ISMNumeric completionCode, ISMNumeric reason)
      Description copied from interface: MQInterface
      MQCLOSE
      Specified by:
      close in interface MQInterface
    • 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: MQInterface
      MQGET
      Specified by:
      get in interface MQInterface
    • 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: MQInterface
      MQPUT
      Specified by:
      put in interface MQInterface
    • disconnect

      public int disconnect(IBaseService baseService, double hcConn, ISMNumeric completionCode, ISMNumeric reason)
      Description copied from interface: MQInterface
      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:
      disconnect in interface MQInterface