...
首页> 外文期刊>Software >Event-driven asynchronous method calls with the D-Bus message system
【24h】

Event-driven asynchronous method calls with the D-Bus message system

机译:D-Bus消息系统的事件驱动的异步方法调用

获取原文
获取原文并翻译 | 示例
           

摘要

The use of inter-process communication can yield many benefits for event-driven desktop software. However, inter-process communication (IPC) research has traditionally been focused on calculation-oriented distributed computing. This article shows that existing IPC solutions are a poor fit for the constraints imposed by event-driven programming. Our novel solution is built on top of the D-Bus system, which enjoys increased practical usage, but is still scantily researched. We focus on efficient handling of asynchronous D-Bus method calls, in a fashion similar to how Hypertext Transfer Protocol requests are treated in Asynchronous JavaScript and XML Web applications. This is supplemented with two design patterns that simplify processing of results for many kinds of asynchronous operations in event-driven software, besides just D-Bus calls. Our approach is shown to be more appropriate for event-driven applications than traditional remote procedure call systems in aspects as diverse as interactivity, threading complexity and electrical power usage.
机译:进程间通信的使用可以为事件驱动的桌面软件带来很多好处。但是,进程间通信(IPC)研究传统上一直集中在面向计算的分布式计算上。本文表明,现有的IPC解决方案不适合事件驱动的编程施加的约束。我们新颖的解决方案是建立在D-Bus系统之上的,该系统享有越来越高的实用性,但仍进行了深入研究。我们专注于异步D-Bus方法调用的有效处理,其方式类似于在异步JavaScript和XML Web应用程序中处理超文本传输​​协议请求的方式。除了两个设计模式外,它还简化了事件驱动软件中许多异步操作的结果处理,而不仅仅是D-Bus调用。与传统的远程过程调用系统相比,我们的方法在交互性,线程复杂性和电力使用等方面显示出比传统的远程过程调用系统更适合事件驱动的应用程序。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号