CICS® Transaction Gateway Programming Reference v1.1.0.0

com.ibm.connector2.cics
Class EPIInteraction

java.lang.Object
  extended by com.ibm.connector2.cics.CICSInteraction
      extended by com.ibm.connector2.cics.EPIInteraction
All Implemented Interfaces:
javax.resource.cci.Interaction

public final class EPIInteraction
extends CICSInteraction

An EPIInteraction is used to interact with the terminal requested from the connection factory.


Method Summary
 void close()
          Close this connection.
 boolean execute(javax.resource.cci.InteractionSpec spec, javax.resource.cci.Record input, javax.resource.cci.Record output)
          This method will send the input record via a CICS terminal and return the new screen returned in the output record.
 
Methods inherited from class com.ibm.connector2.cics.CICSInteraction
clearWarnings, execute, getConnection, getWarnings
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

close

public void close()
           throws javax.resource.ResourceException
Close this connection.

Specified by:
close in interface javax.resource.cci.Interaction
Overrides:
close in class CICSInteraction
Throws:
javax.resource.ResourceException

execute

public boolean execute(javax.resource.cci.InteractionSpec spec,
                       javax.resource.cci.Record input,
                       javax.resource.cci.Record output)
                throws javax.resource.ResourceException
This method will send the input record via a CICS terminal and return the new screen returned in the output record.

Parameters:
spec - A valid EPIInteractionSpec Object.
input - The Record to send to CICS.
output - The Record to put the resulting Screen into.
Returns:
The return value currently has no meaning and can be ignored.
Throws:
javax.resource.ResourceException - If an attempt to execute fails for any reason.

©Copyright IBM Corp. 1994, 2014
Legal