public interface Callbackable
extends java.lang.Runnable
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.
Modifier and Type | Method and Description |
---|---|
void |
setResults(GatewayRequest gatResults)
This method is called prior to a Callbackable object being run.
|
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.