发布者订阅者模式与不同的应用

编程入门 行业动态 更新时间:2024-10-23 13:36:48
本文介绍了发布者订阅者模式与不同的应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我有一个控制台应用程序,我有一个发布者类和三个订阅者类。我需要再添加一个订户,这将是一些其他控制台应用程序。我认为这个Activator是需要的。我是这个概念的新手,任何人都可以帮我添加不在同一个应用程序中的订阅者类。

I have an console application in that I have one publisher class and three subscriber class. I need to add one more subscriber which will be on some other console application. I think for this Activator is need. I am new in this concept can any one please help me to add that subscriber class which is not in same application.

推荐答案

请看我对这个问题的评论。现在,请查看我过去的答案,您可以(或可能不会)找到与发布者 - 订阅者相关的一些想法,只有这样的一种变体:套接字编程中的业余问题 [ ^ ]。
-SA
Please see my comment to the question. For now, please see my past answer where you may (or may not) find some ideas relevant to publisher-subscriber, in just one variant of such thing: an amateur question in socket programming[^].
—SA

更多推荐

发布者订阅者模式与不同的应用

本文发布于:2023-11-13 14:27:50,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1584574.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:发布者   模式

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!