首页    期刊浏览 2024年12月04日 星期三
登录注册

文章基本信息

  • 标题:Volatile Sets: Event-driven Collections for Mobile Ad-Hoc Applications
  • 本地全文:下载
  • 作者:Dies Harnie ; Elisa Gonzalex Boix ; Andoni Lombide Carreton
  • 期刊名称:Electronic Communications of the EASST
  • 电子版ISSN:1863-2122
  • 出版年度:2011
  • 卷号:43
  • 语种:English
  • 出版社:European Association of Software Science and Technology (EASST)
  • 摘要:In mobile peer-to-peer applications, a common pattern is to maintain a collection of remotely-hosted objects. Traditional approaches require programmers to manually track the connectivity state of these remote objects and add them or remove them from local collections on a per-object basis. Because this happens concurrently with the rest of the application code, it hinders the composability of such collections and leads to subtle and hard to find bugs. In this paper, we propose an abstraction called volatile sets that allows the contents of the set to be specified intensionally. Additionally, volatile sets offer an event-driven API that signals when remote objects appear, disappear or change. Finally, volatile sets can be easily and efficiently composed through traditional set operations. We show how volatile sets ease the development of a collaborative peer-to-peer drawing application.
国家哲学社会科学文献中心版权所有