Prev | Current Page 359 | Next

Tim Weilkiens

"Systems Engineering with SysML/UML: Modeling, Analysis, Design"

Similarly to fork
nodes, join nodes are denoted as black bars. The effect is a synchronization (i.e.,
the joined fl ow won ??™ t start before all incoming fl ows have arrived). This is subject
to the following rules:
1. If control tokens arrive at all incoming edges, then all tokens except one
are deleted. The remaining token is made available at the outgoing edge.
2. All control tokens are deleted if both object tokens and control tokens
arrive.
3. If several object tokens arrive, then all of them are made available at the
outgoing edge, because a join node does not delete any data from the
fl ow. An exception occurs when several object tokens refer to an identical
object. In this case, only one object token is forwarded.
Figure 3.52 shows a simple example. The object token trip from the action
plan trip is duplicated at the fork node. The concurrent actions add a booked
FIGURE 3-52
Example for fork and join nodes.
act Booking a trip
plan
trip
Trip
Book
hotel
Trip
Trip
[with hotel]
Trip
[with flight]
Book
flight
Trip
Confirm
trip
Trip
189
hotel and a fl ight to the trip.


Pages:
347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371