|
ABSTRACT
We show how finite-state machines can standardize the protocol used by a component object to notify other interested objects of its state changes, resulting in a more effective use of static types to constrain both parties, and a more efficient dissemination of information. The enhanced component specification is called a logical observable entity, or LOE. We address two key issues in effectively applying such a strategy: how to extend subtyping to consider the state machines, and how to ensure some kind of compliance between the state-machine specification and its implementation. This leads to an unusual subtyping predicate for LOEs on the one hand, and a prototype code generation strategy on the other.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
|
| |
2
|
|
| |
3
|
|
| |
4
|
|
 |
5
|
|
 |
6
|
|
| |
7
|
|
 |
8
|
|
| |
9
|
Stephen R. Davis. C++ objects that change their type. The Journal of Object-Oriented Programming, pages 27-32, July/August 1992.
|
| |
10
|
|
| |
11
|
Krishna Kishore Dhara and Gary T. Leavens. Forcing behavioral subtyping through specification inheritance. Technical Report TR #95-20c, Department of Computer Science, Iowa State University, 1995. Revised, 1997.
|
| |
12
|
|
| |
13
|
|
| |
14
|
|
| |
15
|
|
 |
16
|
|
| |
17
|
|
| |
18
|
|
 |
19
|
|
 |
20
|
|
| |
21
|
|
 |
22
|
|
| |
23
|
|
| |
24
|
|
| |
25
|
|
| |
26
|
|
 |
27
|
|
| |
28
|
Tenth Annual Conference on Object-Oriented Programming Systems, Languages, and Applications (OOPSLA '95). ACM SIGPLAN Notices 30(1), October 1995.
|
| |
29
|
Andreas Paepcke, editor. Eighth Annual Conference on Object-Oriented Programming Systems, Languages, and Applications (OOPSLA '93). ACM SIGPLAN Notices 28(1), October 1993.
|
| |
30
|
Benjamin C. Pierce and David N. Turner. Simple typetheoretic foundations for object-oriented programming. Journal of Functional Programming, 4(2):207-247, April 1994.
|
| |
31
|
Franz Puntigam. Types for active objects based on trace semantics. In Proceedings, FMOODS '96, March 1996.
|
| |
32
|
|
| |
33
|
Rational Software Corporation, Cupertino, California. Unified Modeling Language, Version 1.1 Document Set, September 1997.
|
| |
34
|
|
 |
35
|
|
| |
36
|
|
| |
37
|
James Rumbaugh , Michael Blaha , William Premerlani , Frederick Eddy , William Lorensen, Object-oriented modeling and design, Prentice-Hall, Inc., Upper Saddle River, NJ, 1991
|
 |
38
|
Aamod Sane , Roy Campbell, Object-oriented state machines: subclassing, composition, delegation, and genericity, ACM SIGPLAN Notices, v.30 n.10, p.17-32, Oct. 17, 1995
|
| |
39
|
|
 |
40
|
|
| |
41
|
|
| |
42
|
|
|