Package 

Interface CompletionListener


  • 
    public interface CompletionListener
    
                        

    An interface allowing a client to be notified of the outcome of an asynchronous operation.

    • Method Summary

      Modifier and Type Method Description
      abstract void onSuccess() Called when the associated operation completes successfully.
      abstract void onError(ErrorInfo reason) Called when the associated operation completes with an error.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • onSuccess

         abstract void onSuccess()

        Called when the associated operation completes successfully.

      • onError

         abstract void onError(ErrorInfo reason)

        Called when the associated operation completes with an error.

        Parameters:
        reason - information about the error.