AsyncRequest.IAsyncRequestCallback

Overview

Callback interface for handling results from AsyncRequest

 

new interface AsyncRequest.IAsyncRequestCallback( completed := method(aRequest: AsyncRequest) begin
// Code here end, failed := method(aRequest: AsyncRequest; anException: Exception) begin // Code here end )

 

new AsyncRequest.IAsyncRequestCallback() { @Override public void completed(AsyncRequest aRequest) { // Code here } @Override public void failed(AsyncRequest aRequest, Exception aException) { // Code here} } }

Location

Required Methods


completed

 

method completed(request: AsyncRequest)

 

void completed(AsyncRequest request)

Parameters:

  • request:

failed

 

method failed(request: AsyncRequest; exception: Exception)

 

void failed(AsyncRequest request, Exception exception)

Parameters:

  • request:
  • exception: