Interface AsynchronousWorkListener


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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void onCompleted​(java.io.Serializable result)
      This method will be called when the asynchronous work is completed.
      void onFailed​(int reasonCode, java.lang.String reason)
      This method will be called when the response to the asynchronous work request on the receiving container returns an error.
    • Method Detail

      • onCompleted

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

        void onFailed​(int reasonCode,
                      java.lang.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