Package com.ibm.jakarta.connector2.cics
Class CICSInteractionSpec
java.lang.Object
com.ibm.jakarta.connector2.cics.CICSInteractionSpec
- All Implemented Interfaces:
jakarta.resource.cci.InteractionSpec
,Serializable
- Direct Known Subclasses:
EPIInteractionSpec
public abstract class CICSInteractionSpec
extends Object
implements jakarta.resource.cci.InteractionSpec
This abstract class allows you to set the values for a general CICS request.
-
Field Summary
FieldsFields inherited from interface jakarta.resource.cci.InteractionSpec
SYNC_RECEIVE, SYNC_SEND, SYNC_SEND_RECEIVE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a PropertyChangeListener.Return the function name.int
Returns the interactionVerb property (int) value.void
Removes a PropertyChangeListener.void
setFunctionName
(String func) Set the function to be run.void
setInteractionVerb
(int newVerb) Sets the interactionVerb property (int) value.toString()
Returns a string representation of this instance.
-
Field Details
-
CLASS_VERSION
- See Also:
-
-
Constructor Details
-
CICSInteractionSpec
public CICSInteractionSpec()Constructs an CICSInteractionSpec object
-
-
Method Details
-
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
- 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
- Parameters:
newVerb
- The new interactionVerb.
-
getFunctionName
Return the function name.- Returns:
- The function name.
-
setFunctionName
Set the function to be run.- Parameters:
func
- The function to run.
-
addPropertyChangeListener
Adds a PropertyChangeListener.- Parameters:
pcl
- java.beans.PropertyChangeListener.
-
removePropertyChangeListener
Removes a PropertyChangeListener.- Parameters:
pcl
- java.beans.PropertyChangeListener.
-
toString
Returns a string representation of this instance. In this case it lists the contents of the properties.
-