| /* | |
| * Copyright 2017, Data61, CSIRO (ABN 41 687 119 230) | |
| * | |
| * SPDX-License-Identifier: BSD-2-Clause | |
| */ | |
| component A { | |
| consumes Yo d; | |
| } | |
| component B { | |
| emits Yo d; | |
| } | |
| connector Q { | |
| from Event; | |
| to Event; | |
| } | |
| assembly { | |
| composition { | |
| component A a1; | |
| component B a2; | |
| connection Q c(from a2.d, to a1.d); | |
| } | |
| } |