首页> 外文期刊>Software >Pedro: a publish/subscribe server using Prolog technology
【24h】

Pedro: a publish/subscribe server using Prolog technology

机译:Pedro:使用Prolog技术的发布/订阅服务器

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

摘要

Pedro is a TCP/IP publish/subscribe server implemented in C that uses Prolog technology for testing subscriptions against notifications. It provides both content- and address-based routing of messages between processes. An inter-process message M is a string representation of a Pedro term (usually but not necessarily a variable free term). A subscription is essentially a message template T paired with a Pedro query that is used to restrict the allowed values for variables in T. Pedro automatically forwards any notification it receives to all processes that have a current subscription that covers the notification. A Pedro connected process can optionally register a name with Pedro giving the process a unique Pedro handle. Pedro handles can be used to send peer-to-peer messages between processes. In this paper we illustrate the use of Pedro and describe its implementation.
机译:Pedro是使用C语言实现的TCP / IP发布/订阅服务器,该服务器使用Prolog技术对通知进行测试。它提供了进程之间消息的基于内容和基于地址的路由。进程间消息M是Pedro项(通常但不一定是自由变量项)的字符串表示。预订本质上是与Pedro查询配对的消息模板T,用于限制T中变量的允许值。Pedro自动将收到的任何通知转发给具有当前订阅(覆盖该通知)的所有进程。与Pedro连接的进程可以选择向Pedro注册名称,从而为该进程提供唯一的Pedro句柄。 Pedro句柄可用于在进程之间发送对等消息。在本文中,我们说明了Pedro的用法并描述了其实现。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号