Interface MessageResultHandler

All Known Implementing Classes:
SendRequestHandle

public interface MessageResultHandler
Callback interface for receiving results from a message request.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called when the request fails with an error.
    void
    Called when the request completes successfully.
  • Method Details

    • errorResult

      void errorResult(Exception e)
      Called when the request fails with an error.
      Parameters:
      e - The exception that occurred.
    • successResult

      void successResult(Object v)
      Called when the request completes successfully.
      Parameters:
      v - The result of the request.