Abstract
This chapter introduces SMURPH tools for implementing interactions among the processes of the simulation program. The flexibility of those interactions underlies the expressing power of the programming language offered by SMURPH, which extends beyond pure simulation models. We show how SMURPH mailboxes can be used to interface a SMURPH program to external devices thus equipping it with a reactive (event-driven) interface to the outside world.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
Not to be confused with the Client messages described in Sect. 6.2.
- 2.
Another difference will come into play when the mailbox is exposed (Sect. 12.5.2).
- 3.
This does not happen for a counting mailbox, in which case TheItem returns NULL.
- 4.
Nondeterministically , or according to the order attributes of the wait requests (Sect. 5.1.1).
- 5.
This can only happen for a mailbox owned by a process, as opposed to one owned by a station.
- 6.
Such a mailbox must be owned by a process rather than by a station (Sect. 9.2.1).
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
Copyright information
© 2019 Springer Nature Switzerland AG
About this chapter
Cite this chapter
Gburzyński, P. (2019). Mailboxes. In: Modeling Communication Networks and Protocols. Lecture Notes in Networks and Systems, vol 61. Springer, Cham. https://doi.org/10.1007/978-3-030-15391-5_9
Download citation
DOI: https://doi.org/10.1007/978-3-030-15391-5_9
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-15390-8
Online ISBN: 978-3-030-15391-5
eBook Packages: EngineeringEngineering (R0)