Interface OutputObservable

All Known Implementing Classes:
OutputWorker

public interface OutputObservable
Output Observable is the interface concrete observables have to implement to allow concrete OBSERVERS to register.
Author:
Karl Eilebrecht
  • Method Summary

    Modifier and Type Method Description
    void addOutputObserver​(OutputObserver outputObserver)
    This registers the observer to the observable
    void removeOutputObserver​(OutputObserver outputObserver)
    This de-registers the observer from the observable.
    A call with an instance that was not observing (not in list) behaves like a no-op.
  • Method Details

    • addOutputObserver

      void addOutputObserver​(OutputObserver outputObserver)
      This registers the observer to the observable
      Parameters:
      outputObserver - instance which is interested in events
    • removeOutputObserver

      void removeOutputObserver​(OutputObserver outputObserver)
      This de-registers the observer from the observable.
      A call with an instance that was not observing (not in list) behaves like a no-op.
      Parameters:
      outputObserver - instance which shall no longer be informed about events.