Hostname: page-component-74656f9884-rngvg Total loading time: 0 Render date: 2026-11-06T12:29:47.263Z Has data issue: false hasContentIssue false

Sub-behaviour relations for session-based client/server systems

Published online by Cambridge University Press:  14 November 2014

FRANCO BARBANERA
Affiliation:
Dipartimento di Matematica e Informatica, University of Catania, Catania, Italy Email: barba@dmi.unict.it.
UGO DE'LIGUORO
Affiliation:
Dipartimento di Informatica, University of Torino, Torino, Italy Email: ugo.deliguoro@unito.it.
Rights & Permissions [Opens in a new window]

Abstract

Core share and HTML view are not available for this content. However, as you have access to this content, a full PDF is available via the 'Save PDF' action button.

We propose a refinement and a simplification of the behavioural semantics of session types, based on the concepts of compliance and sub-behaviour from the theory of web contracts. We introduce three relations on a suitable class of behaviours with higher-order input/output, called ‘session behaviours’. Such relations, depending on each other, represent the idea of sub-behaviour from the point of view of a client, a server or a peer, respectively. A restriction of the intersection of the first two relations characterizes the ‘usual’ sub-behaviour relation from the literature. We then device an algorithmic formal system for three subtyping relations (dubbed CSP-subtyping) for session types that takes into account the role played by a user of a channel during an interaction, so extending Gay and Hole subtyping theory. We show that our session behaviours and sub-behaviour relations provide sound and complete semantics for CSP-subtyping, and for Gay and Hole subtyping as a by-product.

Information

Type
Paper
Copyright
Copyright © Cambridge University Press 2014