Interface IObserver<T extends IObservable>

    • Method Detail

      • getObservable

        T getObservable()
        The observable that the observer is interested in. This observable may not change, w.r.t. the IObservable.equals(java.lang.Object) method, while the observer is registered.
      • onEvent

        void onEvent​(Iterator<? extends IEvent<T>> events)
        Callback that is invoked when the observable sends events. The iterator is guaranteed to be non-empty.