Interface AsynchronousWorkListener


public interface AsynchronousWorkListener
This listener will receive notification on a result of the asynchronous work execution.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    This method will be called when the asynchronous work is completed.
    void
    onFailed(int reasonCode, String reason)
    This method will be called when the response to the asynchronous work request on the receiving container returns an error.
  • Method Details

    • onCompleted

      void onCompleted(Serializable result)
      This method will be called when the asynchronous work is completed.
      Parameters:
      result -
    • onFailed

      void onFailed(int reasonCode, String reason)
      This method will be called when the response to the asynchronous work request on the receiving container returns an error.
      Parameters:
      reasonCode - int
      reason - String