Mediator DP
|
|
What:
- Promotes loose coupling by keeping objects from referring to each other explicitly
- Lets you vary their interaction independently
How:
- Define an object that encapsulates how a set of objects interact
Result:
- Serves as an intermediary that keeps objects in the group from referring to each other explicitly.
- The objects only know the mediator