Hybrid Session Verification through Endpoint API Generation

File Description SizeFormat 
paper.pdfAccepted version431.22 kBAdobe PDFView/Open
Title: Hybrid Session Verification through Endpoint API Generation
Authors: Hu, R
Yoshida, N
Item Type: Conference Paper
Abstract: © Springer-Verlag Berlin Heidelberg 2016.This paper proposes a new hybrid session verification methodology for applying session types directly to mainstream languages, based on generating protocol-specific endpoint APIs from multiparty session types. The API generation promotes static type checking of the behavioural aspect of the source protocol by mapping the state space of an endpoint in the protocol to a family of channel types in the target language. This is supplemented by very light run-time checks in the generated API that enforce a linear usage discipline on instances of the channel types. The resulting hybrid verification guarantees the absence of protocol violation errors during the execution of the session. We implement our methodology for Java as an extension to the Scribble framework, and use it to specify and implement compliant clients and servers for real-world protocols such as HTTP and SMTP.
Issue Date: 1-Apr-2016
Date of Acceptance: 18-Dec-2015
URI: http://hdl.handle.net/10044/1/31169
DOI: http://dx.doi.org/10.1007/978-3-662-49665-7_24
ISBN: 978-3-662-49664-0
ISSN: 0302-9743
Publisher: Springer
Start Page: 401
End Page: 418
Journal / Book Title: Lecture Notes in Computer Science
Volume: 9633
Copyright Statement: The final publication is available at Springer via http://dx.doi.org/10.1007/978-3-662-49665-7_24
Sponsor/Funder: Engineering & Physical Science Research Council (E
Engineering & Physical Science Research Council (E
Engineering & Physical Science Research Council (EPSRC)
Commission of the European Communities
Funder's Grant Number: ERI 025567 (EP/K034413/1)
PO 1553380
EP/K011715/1
612985
Conference Name: FASE 2016
Keywords: Artificial Intelligence & Image Processing
08 Information And Computing Sciences
Publication Status: Published
Start Date: 2016-04-02
Finish Date: 2016-04-08
Conference Place: Eindhoven, The Netherlands
Appears in Collections:Faculty of Engineering
Computing



Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.

Creative Commonsx