Retractable and Speculative Contracts

Franco Barbanera 1 Ivan Lanese 2 Ugo de 'Liguoro 3
2 FOCUS - Foundations of Component-based Ubiquitous Systems
CRISAM - Inria Sophia Antipolis - Méditerranée , DISI - Dipartimento di Informatica - Scienza e Ingegneria [Bologna]
Abstract : Behavioral contracts are abstract descriptions of the communications that clients and servers perform. Behavioral contracts come naturally equipped with a notion of compliance: when a client and a server follow compliant contracts, their interaction is guaranteed to progress or successfully complete. We study two extensions of contracts, dealing respectively with backtracking and with speculative execution. We show that the two extensions give rise to the same notion of compliance. As a consequence, they also give rise to the same subcontract relation, which determines when one server can be replaced by another preserving compliance. Moreover, compliance and subcontract relation are both decidable in polynomial time.
Complete list of metadatas

Cited literature [34 references]  Display  Hide  Download

https://hal.inria.fr/hal-01633262
Contributor : Ivan Lanese <>
Submitted on : Sunday, November 12, 2017 - 9:19:05 AM
Last modification on : Wednesday, October 10, 2018 - 10:09:27 AM
Long-term archiving on : Tuesday, February 13, 2018 - 12:40:14 PM

File

mainCOORD.pdf
Files produced by the author(s)

Identifiers

Citation

Franco Barbanera, Ivan Lanese, Ugo de 'Liguoro. Retractable and Speculative Contracts. 19th International Conference on Coordination Languages and Models (COORDINATION), Jun 2017, Neuchâtel, Switzerland. pp.119-137, ⟨10.1007/978-3-319-59746-1_7⟩. ⟨hal-01633262⟩

Share

Metrics

Record views

205

Files downloads

119