如何拦截/订阅独立应用程序的事件(在其外部)? [英] How to intercept/subscribe to events of standalone application (outside of it) ?

查看:46
本文介绍了如何拦截/订阅独立应用程序的事件(在其外部)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有人,
是否可以通过某种方式订阅/挂接其他应用程序触发的事件?

例如,有一个独立的线程正在处理一些数据.
我想拥有几个不同的GUI应用程序,它们可以挂在处理线程上并以不同的方式为不同的用户显示不同的数据.
当用户关闭其GUI时,数据处理线程继续在自动模式下工作.
当年年年年年年年年年年年年年年年年年度图形图形化应用程序
年年年年年年

所有应用都应该是独立的.

我可以想象如何一起完成所有这些操作.将所有内容都焊接到一个应用中..但不知道是否可以通过上述方式实现.

欢迎提出任何想法和建议.
谢谢.

Dear All,
Is it possible somehow to subscribe/hook on events which are fired by other application ?

For example, there is standalone thread which is processing some data.
I would like to have several different GUI apps, which can hook on the processing thread and display different data in different ways  for different users.
      When user closes his GUI, data processing thread continue to work in auto mode.
      When GUI application starts, it somehow should find processing core thread, subscribe to events fired by data thread(data indication), notify data thread about itself and provide processing thread with its own events (control).

All apps should be standalone.

I can imagine how to do all of that together, ie. welding everything in single app.., but no idea if it possible to implement in above mentioned way.

Any ideas and suggestions are welcome.
Thanks.

推荐答案

在我看来像是客户端/服务器方案.
Sounds like a client/server scenario to me.


这篇关于如何拦截/订阅独立应用程序的事件(在其外部)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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