[Publisher-Subscriber(出版-订阅)] Publisher-Subscriber模式单向传播变动(one-way propagation of changes):一个publisher状态有变动,将会通知给任意数量的subscriber。
基于1个网页-相关网页
Real-time Publisher Subscriber 上的实时发布者预订者
Publisher - Subscriber 订阅者 ; 发行者
Subscriber-Publisher 注册发行 ; 注册一发行
An example of such a pattern is the publisher-subscriber pattern, consisting of a module (the publisher) that must send copies of its "publications" to other modules (the subscribers).
这种模式的一个例子就是出版商和订户的模式:一个模块(出版商)这种模式的一个例子就是出版商和订户的模式:一个模块(出版商)将其出版物发送给其他模块(订户)。
Only a topic couples the publisher and subscriber; publishers publish to a topic and subscribers subscribe to a topic.
只有主题将发布者和订阅者联系起来;发布者发布某个主题,而订阅者则订阅该主题。
The match may be exact if the publisher and subscriber specify exactly the same topic name, or the subscriber may specify a wildcard to match many different published topics.
如果发布方和订阅方指定的是完全相同的主题名称,则可能是精确匹配,否则订阅方可以指定通配符来匹配很多不同的发布主题。
应用推荐