首页> 外文OA文献 >Building object-oriented software with the D-Bus messaging system
【2h】

Building object-oriented software with the D-Bus messaging system

机译:使用D-Bus消息传递系统构建面向对象的软件

代理获取
本网站仅为用户提供外文OA文献查询和代理获取服务,本网站没有原文。下单后我们将采用程序或人工为您竭诚获取高质量的原文,但由于OA文献来源多样且变更频繁,仍可能出现获取不到、文献不完整或与标题不符等情况,如果获取不到我们将提供退款服务。请知悉。

摘要

Object-oriented programming is a widely adopted paradigm for desktop software development.This paradigm partitions software into separate entities, objects, which consistof data and related procedures used to modify and inspect it. The paradigm has evolvedduring the last few decades to emphasize decoupling between object implementations, viameans such as explicit interface inheritance and event-based implicit invocation.Inter-process communication (IPC) technologies allow applications to interact with eachother. This enables making software distributed across multiple processes, resulting in amodular architecture with benefits in resource sharing, robustness, code reuse and security.The support for object-oriented programming concepts varies between IPC systems.This thesis is focused on the D-Bus system, which has recently gained a lot of users, butis still scantily researched. D-Bus has support for asynchronous remote procedure callswith return values and a content-based publish/subscribe event delivery mechanism.In this thesis, several patterns for method invocation in D-Bus and similar systems arecompared. The patterns that simulate synchronous local calls are shown to be dangerous.Later, we present a state-caching proxy construct, which avoids the complexity ofproperly asynchronous calls for object inspection. The proxy and certain supplementaryconstructs are presented conceptually as generic object-oriented design patterns. Thee ect of these patterns on non-functional qualities of software, such as complexity, performanceand power consumption, is reasoned about based on the properties of the D-Bussystem. The use of the patterns reduces complexity, but maintains the other qualities at agood level.Finally, we present currently existing means of specifying D-Bus object interfaces for thepurposes of code and documentation generation. The interface description language usedby the Telepathy modular IM/VoIP framework is found to be an useful extension of thebasic D-Bus introspection format.
机译:面向对象编程是桌面软件开发中广泛采用的范例,该范例将软件划分为单独的实体,对象,这些实体,对象包括用于修改和检查数据的数据以及相关过程。在过去的几十年中,该范式不断发展,以强调对象实现之间的解耦,例如显式接口继承和基于事件的隐式调用等。进程间通信(IPC)技术允许应用程序彼此交互。这使得软件可以分布在多个过程中,从而形成模块化的体系结构,在资源共享,鲁棒性,代码重用和安全性方面具有优势。对面向对象编程概念的支持在IPC系统之间有所不同。本文的重点是D-Bus系统,最近吸引了很多用户,但仍未进行充分的研究。 D-Bus支持具有返回值的异步远程过程调用以及基于内容的发布/订阅事件传递机制。在本文中,比较了D-Bus和类似系统中方法调用的几种模式。事实证明,模拟同步本地调用的模式很危险。稍后,我们提出一种状态缓存代理结构,该结构避免了对象检查适当异步调用的复杂性。代理和某些补充构造在概念上作为通用的面向对象设计模式呈现。这些模式对软件非功能性质量(例如复杂性,性能和功耗)的影响是基于D-Bussystem的属性来进行推理的。模式的使用降低了复杂性,但保持了其他质量。最后,我们提出了用于代码和文档生成目的的指定D-Bus对象接口的现有方法。发现Telepathy模块化IM / VoIP框架使用的接口描述语言是基本D-Bus自省格式的有用扩展。

著录项

  • 作者

    Salli Olli;

  • 作者单位
  • 年度 2012
  • 总页数
  • 原文格式 PDF
  • 正文语种 en
  • 中图分类

相似文献

  • 外文文献
  • 中文文献
  • 专利

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号