Package 

Class CompletionListener.Multicaster

    • Method Summary

      Modifier and Type Method Description
      void onSuccess() Called when the associated operation completes successfully.
      void onError(ErrorInfo reason) Called when the associated operation completes with an error.
      • Methods inherited from class io.ably.lib.util.Multicaster

        add, clear, isEmpty, remove, size
      • Methods inherited from class java.lang.Object

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

      • onSuccess

         void onSuccess()

        Called when the associated operation completes successfully.

      • onError

         void onError(ErrorInfo reason)

        Called when the associated operation completes with an error.

        Parameters:
        reason - information about the error.