Introduction to OOP Chapter 24: Design Patterns : next previous audio real text

Observer

Problem: How do you dynamically (at run time) add and remove connections between objects.

Solution: An Observer Manager implements the following protocol:

In this way neither the observer nor the observed object need know the existance of the other.

Intro OOP, Chapter 24, Slide 18