public interface InvokeClientCallback
ServiceContext#invoke(Context, InvokeTask, long)
completes.
This callback allows separation between the InvokeTask and the integrating
client functionality. This may be beneficial for reuse of InvokeTask derived
classes.
It could be argued that, in some cases, the AsyncTask.onPostExecute() method of
InvokeTask is suficient as a "client callback." Therefore some implementations
of InvokeTask may not require a callback to be defined.
| Modifier and Type | Method and Description |
|---|---|
void |
onInvokeComplete(InvokeTask completedTask)
The client implemented callback invoked when a url invoke completes.
|
void onInvokeComplete(InvokeTask completedTask)
completedTask - The asynchronous task that was executed as part of the url invoke
process.