Hello Mike,
It is not allowed to connect a port of a component A to two different
ports of component B. If component A is the sender and component B the
receiver as in your example, when enqueuing the message at component B
it is sufficient to know the sending port to determine the corresponding
receiving port. The relation between ports is known from the tciConnect
operations.
The restriction mentioned above is case 7 in figure 7 in edition 3.4.
Best regards
Thomas
>
Original Message
>From: active_ttcn3 : mts stf133 ttcn version 3 - active
>members only [This email address is being protected from spambots. You need JavaScript enabled to view it.] On Behalf Of ext
>Michael Sperber
>Sent: Tuesday, 23. December 2008 11:35
>To: This email address is being protected from spambots. You need JavaScript enabled to view it.
>Subject: Another TRI question
>
>In a TTCN-3 program, connections are between ports. Yet,
>tciSendConnectedBC sends to "all components being connected to this
>port". Why not the ports? Specifically, why is only a component, and
>not a port passed to tciEnqueueMsgConnected, even though the component
>identifies the port?
>
>To me, this suggests that the connection mapping needs to maintained in
>two different places, i.e. the TE (for deducing the port from the
>component in tciEnqueueMsgConnected), and in the CH (for calling
>tciEnqueueMsgConnected on the correct component). Is this really
>intended?
>
>--
>Regards,
>Mike
>