Reo: a channel-based coordination model for component composition

Farhad Arbab

Mathematical Structures in Computer Science · 2004 · 702 citations · 10 references

DOIFull text

Open access

Concepts

TL;DR

Reo focuses on connectors and their composition, emphasizing channel composition as a powerful mechanism for constructing connectors without concern for the entities that use them. This paper introduces Reo, a paradigm for composing software components using mobile channels. Reo is a channel‑based exogenous coordination model where connectors are compositionally built from simple channels with defined behavior, imposing coordination patterns on entities without their knowledge, and its expressive power is demonstrated through examples. Reo can compose exogenous coordination patterns expressed as meta‑level regular expressions over I/O operations using only five primitive channel types.

Abstract

In this paper, we present Reo, which forms a paradigm for composition of software components based on the notion of mobile channels. Reo is a channel-based exogenous coordination model in which complex coordinators, called connectors , are compositionally built out of simpler ones. The simplest connectors in Reo are a set of channels with well-defined behaviour supplied by users. Reo can be used as a language for coordination of concurrent processes, or as a ‘glue language’ for compositional construction of connectors that orchestrate component instances in a component-based system. The emphasis in Reo is just on connectors and their composition, and not on the entities that connect to, communicate and cooperate through these connectors. Each connector in Reo imposes a specific coordination pattern on the entities (for example, components) that perform I/O operations through that connector, without the knowledge of those entities. Channel composition in Reo is a very powerful mechanism for construction of connectors. We demonstrate the expressive power of connector composition in Reo through a number of examples. We show that exogenous coordination patterns that can be expressed as (meta-level) regular expressions over I/O operations can be composed in Reo out of a small set of only five primitive channel types.

References

10