Class PCFMessageAgentResponseTracker

java.lang.Object
com.ibm.mq.headers.pcf.PCFMessageAgentResponseTracker

public abstract class PCFMessageAgentResponseTracker extends Object
General class to track responses to PCF commands
  • Constructor Details

    • PCFMessageAgentResponseTracker

      public PCFMessageAgentResponseTracker()
  • Method Details

    • isLast

      public abstract boolean isLast(PCFMessage response) throws MQDataException, IOException
      Parameters:
      response - PCFMessage containing response
      Returns:
      true if this is the last response
      Throws:
      MQDataException - if there is MQ PCF error
      IOException - if an error occurs reading message
    • getInstance

      public static PCFMessageAgentResponseTracker getInstance(boolean isZos)
      Parameters:
      isZos - true if the platform is z/OS
      Returns:
      a suitable tracker instance