Class ActionNotificationObserver<T>

  • Type Parameters:
    T - the value type
    All Implemented Interfaces:
    Observer<T>

    public final class ActionNotificationObserver<T>
    extends java.lang.Object
    implements Observer<T>
    An Observer that forwards the onXXX method calls to a notification callback by transforming each signal type into Notifications.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void onCompleted()
      Notifies the Observer that the Observable has finished sending push-based notifications.
      void onError​(java.lang.Throwable e)
      Notifies the Observer that the Observable has experienced an error condition.
      void onNext​(T t)
      Provides the Observer with a new item to observe.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait