23.08.2013 Views

Specification of Reactive Hardware/Software Systems - Electronic ...

Specification of Reactive Hardware/Software Systems - Electronic ...

Specification of Reactive Hardware/Software Systems - Electronic ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

166 Modelling <strong>of</strong> Concurrent <strong>Reactive</strong> Behaviour<br />

Sender<br />

process<br />

Single message flow<br />

Message with reply flow<br />

Continuous flow<br />

Interrupt message flow<br />

Interrupt with reply flow<br />

Buffered message flow<br />

Figure 6.3: Message Flow Symbols<br />

Receiver<br />

process<br />

the data. These class names are added to the textual message description that is placed<br />

as text on the flow in the Message Flow Diagram. (See Figure 6.4.) The meaning is that<br />

Process A<br />

store(ProductInfo)<br />

Process B<br />

Figure 6.4: A Single Message Flow<br />

the message store transports information in the form <strong>of</strong> an object <strong>of</strong> class ProductInfo 3 .<br />

Data objects can travel around, but process objects cannot. They are tied in a static<br />

structure <strong>of</strong> channels. However, it is possible to pass the name <strong>of</strong> a process in the form<br />

<strong>of</strong> a process identifier. (See Subsection 6.3.10).<br />

A message without contents can also be a very useful communication primitive. The text<br />

on the single message flow symbol is then a message name without parameters. This<br />

models the notion <strong>of</strong> an event.<br />

An event is something that happens, and is relevant to the system. The duration <strong>of</strong> an<br />

event is idealised to be infinitesimal short in time. An event may happen internal or<br />

external to the system. Events may occur simultaneously or they may happen before<br />

or after each other, or they may be completely independent. Events are important for<br />

the description <strong>of</strong> the flow <strong>of</strong> control <strong>of</strong> a system. The dynamic behaviour <strong>of</strong> a system<br />

3 We recommend to begin class names with a capital letter.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!