|
CICS® Transaction Gateway Base API Programming Reference v8.1.0.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Callbackable
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.
Please refer to the samples for examples of using this interface.
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 |
Method Detail |
---|
void setResults(GatewayRequest gatResults)
gatResults
- GatewayRequest object containing the results of
the asynchronous call which is causing us to be run. This may
be cast into the appropriate Request object.
|
©Copyright IBM Corp. 1994, 2012 Legal |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |