发布者订阅者模式与不同的应用 [英] Publisher subscriber pattern with different application.

查看:87
本文介绍了发布者订阅者模式与不同的应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个控制台应用程序,我有一个发布者类和三个订阅者类。我需要再添加一个订户,这将是一些其他控制台应用程序。我认为这个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


这篇关于发布者订阅者模式与不同的应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆