skip to main content
10.1145/217838.217840acmconferencesArticle/Chapter ViewAbstractPublication PagessplashConference Proceedingsconference-collections
Article
Free Access

Extending the statechart formalism: event scheduling & disposition

Published:17 October 1995Publication History

ABSTRACT

Statecharts are extended to deal with events when no applicable transition is available, and to resolve conflicts relative to event scheduling and response that can arise whenever multiple states can be active simultaneously. "Event closure" and event scheduling are achieved without having to clutter up a basic statechart. The extensions are effected by means of declarative event disposition rules. These rules, together with the statechart topology, determine the contents of one or more disposition matrices. These matrices are combined with the statechart state to determine the response of the event dispatcher to incoming events. The operation of the event dispatcher is also described. A detailed example illustrates these concepts, which are further characterized, for the benefit of working programmers, in the form of a behavioral design pattern. A tool called StateCraft embodies these notions.

References

  1. Allen94.Allen, A., Object Oriented Message Handling Sub-system and Method, patent pending with the US patent office, 1994.Google ScholarGoogle Scholar
  2. Allen95.A. Allen, "A Method for Object Oriented Protocol Development", submitted to the International Conference on Protocol Specification, Testin~ & Verification '95, 1995.Google ScholarGoogle Scholar
  3. Ansart83+.J.P. Ansart, V. Chari, M. Meyer, O. Rafiq, D. Simon, "Description, Simulation, Implementation of Communication Protocols using PDIL", ACM Si~comm'83~ Symposium on Communication Architectures and Protocols, U. of Texas at Austin, March 1983. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. Bochmann87.G. Bochmann"Usage of Protocol Development Tools" The Results of a Survey", Protocol Specification, Testing and Verification, VII, Elsevier Science Publishers B.V. (North Holland), 1987. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. Bochmann80.G. Bochmann"A general Transition Model for Protocols and Communication Services", IEEE Trans. Communications Vo! 28, No 4, April 1980, 643-650.Google ScholarGoogle ScholarCross RefCross Ref
  6. Booch93.G. Booch, Object Oriented Analysis and Design_, Benjamin/Cummins, 1993. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. deChampeaux93+.D. de Champeaux, D. Lea & P. Faure, Object Oriented System Development, Addison-Wesley, 1993. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. Embley92+.D. Embley, B. Kurtz, S. Woodfield, Object-Oriented Systems Analysis, Yourdon Press, Prentice Hall 1992. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. Firesmith95.D. Firesmith, "Object-oriented state modelling using ADM4", Journal of Object-Oriented Programming , 57-65, 1994.Google ScholarGoogle Scholar
  10. Gamma94+.E. Gamma, R. Helm, R. Johnson, J. Vlissides, Design Patterns , Addison- Wesley, 1994.Google ScholarGoogle Scholar
  11. Harel87.D. Harel, "Statecharts" A Visual Formalism for Complex Systems", Sci. Comput. Pro~. , 231-274, 1987. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. Holzmann91.G. Holzmann, Design and Validation of Computer Protocols, Prentice Hall, 1991. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. Liu94.C. Liu, "An Object-Based Approach to Protocol Software Implementation", Proceedings of the ACM SIGCOMM Conference on Communications Architectures, Protocols and Applications, 1994. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. Rumbaugh91+.J. Rumbaugh, M. B laha, W. Premerlani, F. Eddy, & W. Lorensen, Object Oriented Modelling and Design, Prentice Hall, 1991. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. Shankar91.U. Shankar, "Modular Design Principles for Protocols with an Application to the Transport Layer", Proceedings of the IEEE, Vol. 70, No. 12, December 1991.Google ScholarGoogle Scholar
  16. Shlaer91+.S. Shlaer & S.J. Mellor, Object Lifecycles" Modelling the World in States Yourdon Press, 1991. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. Selic92+.B. Selic, G. Gullekson, J. McGee & I.Engelbert, "ROOM" An Object- Oriented Methodology for Developing Real-Time Systems", Proc. 5th International Workshop .on C_ASE, Montreal Canada, 1992.Google ScholarGoogle Scholar
  18. Selic94+.Selic, B., R. Tigg, D. Daoust & P. Ward, "Resolved" High Level Efficient Models Can be Formally Transformed into Complete and Efficient Real-Time Implementations", position paper presented at OOPSLA'94.Google ScholarGoogle Scholar

Index Terms

  1. Extending the statechart formalism: event scheduling & disposition

            Recommendations

            Comments

            Login options

            Check if you have access through your login credentials or your institution to get full access on this article.

            Sign in

            PDF Format

            View or Download as a PDF file.

            PDF

            eReader

            View online with eReader.

            eReader