LOGICAL OBSERVABLE ENTITIES

Authors
Citation
Jg. Rossie, LOGICAL OBSERVABLE ENTITIES, ACM SIGPLAN NOTICES, 33(10), 1998, pp. 154-165
Citations number
40
Categorie Soggetti
Computer Science Software Graphycs Programming","Computer Science Software Graphycs Programming
Journal title
Volume
33
Issue
10
Year of publication
1998
Pages
154 - 165
Database
ISI
SICI code
Abstract
We show how finite-state machines can standardize the protocol used by a component object to notify other interested objects of its state ch anges, resulting in a more effective use of static types to constrain both parties, and a more efficient dissemination of information. The e nhanced component specification is called a logical observable entity, or LOE. We address two key issues in effectively applying such a stra tegy: how to extend subtyping to consider the state machines, and how to ensure some kind of compliance between the state-machine specificat ion and its implementation. This leads to an unusual subtyping predica te for LOEs on the one hand, and a prototype code generation strategy on the other.