arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1406.3482cs.DCcs.SE
收藏

多方会话参与者

Multiparty Session Actors

Rumyana Neykova, Nobuko Yoshida

摘要:

行动者协调装甲一个合适的协议描述语言一直是一个紧迫的问题,在行动者社区。我们研究了多方会话类型(MPST)协议的演员程序验证的适用性。我们通过引入最小的补充模型,如演员角色和协议邮箱的概念,将会话的演员。该框架使用Scribble,这是一种基于多方会话类型的协议描述语言。我们的编程模型支持类演员的语法和运行时验证机制,保证类型安全和通信实体的进展。一个参与者可以实现多个角色,就像一个对象可以实现多个接口一样。多个角色允许单个参与者中的内部并发,同时保留其progress属性。我们展示了我们的框架,设计和实现一个会话演员库在Python和运行时验证机制。

英文摘要:

Actor coordination armoured with a suitable protocol description language has been a pressing problem in the actors community. We study the applicability of multiparty session type (MPST) protocols for verification of actor programs. We incorporate sessions to actors by introducing minimum additions to the model such as the notion of actor roles and protocol mailbox. The framework uses Scribble, which is a protocol description language based on multiparty session types. Our programming model supports actor-like syntax and runtime verification mechanism guaranteeing type-safety and progress of the communicating entities. An actor can implement multiple roles in a similar way as an object can implement multiple interfaces. Multiple roles allow for inter-concurrency in a single actor still preserving its progress property. We demonstrate our framework by designing and implementing a session actor library in Python and its runtime verification mechanism.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑