官术网_书友最值得收藏!

Use case

To demonstrate the mediator design pattern, we will emulate a widget production system that includes a hopper for parts, a starter to start the system, an assembly system to combine hopper components, an accelerator, and an emergency break to manage the speed of the system.

There are inter-relations between the various components for our mediator to manage. These inter-relationships are detailed here:

Widget production system inter-relationships

 

As you can see from the table, there are 16 inter-relationships among the 5 system components for the mediator to manage.

主站蜘蛛池模板: 信阳市| 普陀区| 谢通门县| 文水县| 三门县| 和龙市| 福建省| 闸北区| 策勒县| 阳江市| 平远县| 盖州市| 临泽县| 嫩江县| 衡阳市| 胶南市| 宁波市| 沅陵县| 绩溪县| 公主岭市| 馆陶县| 齐齐哈尔市| 大足县| 合江县| 永德县| 陇西县| 尖扎县| 易门县| 建宁县| 高雄市| 普定县| 本溪| 溆浦县| 鄂尔多斯市| 溧阳市| 旺苍县| 石景山区| 新泰市| 新乐市| 五河县| 荔波县|