Interface MessageCompletionHandler


  • public interface MessageCompletionHandler
    Completion handler for asynchronous message operations.
    • Method Detail

      • onSuccess

        void onSuccess​(Message message)
        Reports that the operation was successfully completed.
        Parameters:
        message - Message for which the operation was successfully completed.
      • onError

        void onError​(MessagingException error)
        Reports that the operation has failed.
        Parameters:
        error - Information about failure details.