com.ibm.ctg.client
Interface Callbackable
- All Known Implementing Classes:
- Terminal.Wait
- public abstract interface Callbackable
- extends java.lang.Runnable
The asynchronous model supported by the CICS Transaction Gateway allows the
use of callback objects. When an asynchronous call is completed the
user supplied callback object is called with the results of the
asynchronous call, and is then run on it's own thread.
This interface defines the methods that a Callbackable object must provide.
It is derived from the standard Runnable interface, adding only one
additional method. This method, setResults, is called prior to the object
being run, to pass in the results of the asynchronous call.
Method Summary |
void |
setResults(GatewayRequest gatResults)
This method is called prior to a Callbackable object being run. |
Methods inherited from interface java.lang.Runnable |
run |
setResults
public void setResults(GatewayRequest gatResults)
- This method is called prior to a Callbackable object being run. The
Callbackable object should store the supplied GatewayRequest object
for use when it is run.
- Parameters:
gatResults
- GatewayRequest object containing the results of
the asynchronous call which is causing us to be run.