Описание тега mediator
The mediator pattern defines an object that encapsulates how a set of objects interact. It is one of the Gang of Four's behavioral design patterns.
This is one of the Gang of Four's behavioral design-patterns, first published in Gamma et al.'s book "Design Patterns: Elements of Reusable Object-Oriented Software".