Hi,
"What is the value for the sender for messages received on that port?" -> You determine the value "manually" in the TTCN-3 code.
While the type of component references are not known (test-system specific) and the values are allocated by the test system implicitly and automatically (the user can/shall work with the variable names only), in case of address, both the type and the value are specified by the user (OK, there may be "tricky" cases, when the value is received from the adapter at some initialization phase and just stored in TTCN-3 - but it is just a specific use, it could be assigned by the user; the component reference cannot). E.g.
type charstring address;
const address you := "you";
...
mappedP.send(ts_myMessage) to you;
mappedP.receive(tr_myMessage) from you;
BR, Gyorgy
>
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 Michael Sperber
> Sent: Saturday, 23 August, 2008 5:06 PM
> To: This email address is being protected from spambots. You need JavaScript enabled to view it.
> Subject: Re: Address or component sender?
>
> György Réthy <This email address is being protected from spambots. You need JavaScript enabled to view it.> writes:
>
> > The TSI is not a real test component, you cannot address
> it; the keyword system is used at port mapping only.
>
> I know. But I can map a port that *is* part of a test
> component to a system port, right? What is the value for the
> sender for messages received on that port?
>
> --
> Regards,
> Mike
>