你的位置: 码友网首页 / 资讯源列表 / The Mediator Pattern

关于[The Mediator Pattern]的摘要:

The Mediator Pattern one of the Behavioral Patterns defined by the Gang of Four in Design Patterns: Elements of Reusable Object-Oriented Software. Mediator pattern is used to reduce communication complexity between multiple objects or classes. The pattern provides a mediator class which handles all the communications between different classes and supports easy maintenance of the code by loose coupling. A mediator sits between method callers and receivers creating a configurable layer of abstraction that determines how callers and receivers get wired up.

原文地址: https://garywoodfine.com/the-mediator-pattern/

收录时间: 2021-05-20 浏览量: 1288 分类: 设计模式

| 0 收藏 | 0