Open MrCoder opened 1 year ago
// {<1sec.}
"caller:Phone" -> "exchange:PBX": lift receiver
// {<10 sec.}
"exchange:PBX" -> "caller:Phone": dial tone
"caller: Phone" -> "exchange:PBX": dial digit r=duration
...
// [duration] {<5sec.}
"caller:Phone" -> "exchange:PBX": route
"exchange:PBX" -> "caller:Phone": ringing tone
Explanation on the DSL:
a = now
only add noise so are all omitted.{r < 10 ms }
is not represented in the DSL. It can be either in the message or comment.
Duration Constraint
A constraint on a duration.
Notion
A duration constraint on a sequence diagram may be show by drawing a vertical line with open arrowheads at both ends between the vertical position of two events. An expression for the duration is placed in braces over the center of the arrow. The constraint may also be shown as a text expression in braces.
Source: https://www.oreilly.com/api/v2/epubs/0321245628/files/0321245628_ch14lev1sec193_image01.jpeg