发布者订阅者模式与不同的应用
问题描述:
我有一个控制台应用程序,我有一个发布者类和三个订阅者类。我需要再添加一个订户,这将是一些其他控制台应用程序。我认为这个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