A formal treatment of an abstract channel implementation using java sockets and TCP

Autor: Peter M. Musial, Chryssis Georgiou, Elaine L. Sonderegger, Alexander A. Shvartsman
Rok vydání: 2007
Předmět:
Zdroj: PODC
DOI: 10.1145/1281100.1281159
Popis: models and specifications can be used in the design of distributed applications to formally reason about their safety properties. However, the benefits of using formal methods are offset by the challenging process of mapping the functionality of an abstract specification to the low-level executable code for target distributed platforms. Formal specification and practical implementation of communication channels is one such challenge. This work provides the first formal specification of an abstract asynchronous communication channel with support for dynamic creation and tear down of communication links between participating network nodes, and its implementation using Java sockets and TCP. The specifications are formulated using Input/Output Automata formalism, and it is proved that the resulting implementation preserves the safety properties of the abstract channel. The approach presented here can be used to implement algorithms for dynamic systems, where communicating nodes may join, leave, and experience arbitrary delays, and it can directly benefit automated code generation.
Databáze: OpenAIRE