观察者模式,又名发布订阅模式: 详细: https://blog.csdn.net/ForeverSeaStar/article/details/639888 转载于:https://www.cnblogs.com/pro-wall-box/p/11192469.html