com.ibm.connector2.cics

Class CICSInteractionSpec

  • java.lang.Object
    • com.ibm.connector2.cics.CICSInteractionSpec
  • All Implemented Interfaces:
    java.io.Serializable, javax.resource.cci.InteractionSpec
    Direct Known Subclasses:
    EPIInteractionSpec


    public abstract class CICSInteractionSpec
    extends java.lang.Object
    implements javax.resource.cci.InteractionSpec
    This abstract class allows you to set the values for a general CICS request.

    The properties that can be set are as follows:

    InteractionVerb
    The type of interaction: SYNC_SEND, SYNC_RECEIVE, SYNC_SEND_RECEIVE.
    FunctionName
    The Function to call. Specific to ECI and EPI. For ECI it is the program name
    for EPI it is the transaction to run.
    • Field Summary

      • Fields inherited from interface javax.resource.cci.InteractionSpec

        SYNC_RECEIVE, SYNC_SEND, SYNC_SEND_RECEIVE
    • Constructor Summary

      Constructors 
      Constructor and Description
      CICSInteractionSpec()
      Constructs an CICSInteractionSpec object
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      void addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
      Adds a PropertyChangeListener.
      java.lang.String getFunctionName()
      Return the function name.
      int getInteractionVerb()
      Returns the interactionVerb property (int) value.
      void removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
      Removes a PropertyChangeListener.
      void setFunctionName(java.lang.String func)
      Set the function to be run.
      void setInteractionVerb(int newVerb)
      Sets the interactionVerb property (int) value.
      java.lang.String toString()
      Returns a string representation of this instance.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • CICSInteractionSpec

        public CICSInteractionSpec()
        Constructs an CICSInteractionSpec object
    • Method Detail

      • getInteractionVerb

        public int getInteractionVerb()
        Returns the interactionVerb property (int) value. The interactionVerb indicates what type of interaction will be used.
        • SYNC_SEND
        • SYNC_RECEIVE
        • SYNC_SEND_RECEIVE
        These enumerations are defined as constants on the appropriate interaction spec used.
        Returns:
        the interactionVerb
      • setInteractionVerb

        public void setInteractionVerb(int newVerb)
        Sets the interactionVerb property (int) value. The interactionVerb indicates what type of interaction will be used.
        • SYNC_SEND
        • SYNC_RECEIVE
        • SYNC_SEND_RECEIVE
        These enumerations are defined as constants on the appropriate interaction spec used.
        Parameters:
        newVerb - The new interactionVerb.
      • getFunctionName

        public java.lang.String getFunctionName()
        Return the function name.
        Returns:
        The function name.
      • setFunctionName

        public void setFunctionName(java.lang.String func)
        Set the function to be run.
        Parameters:
        func - The function to run.
      • addPropertyChangeListener

        public void addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
        Adds a PropertyChangeListener.
        Parameters:
        pcl - java.beans.PropertyChangeListener.
      • removePropertyChangeListener

        public void removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
        Removes a PropertyChangeListener.
        Parameters:
        pcl - java.beans.PropertyChangeListener.
      • toString

        public java.lang.String toString()
        Returns a string representation of this instance. In this case it lists the contents of the properties.
        Overrides:
        toString in class java.lang.Object
        Returns:
        String.
©Copyright IBM Corp. 1994, 2013
Legal