Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsDoes Titan support "address" in port?
https://www.eclipse.org/forums/index.php/mv/msg/1083207/1750193/#msg_1750193
I find "TTCN-3 Core Language" define address in Port as follow,
But when i use address , always get compile error.
Message-based port:
type port PortTypeIdentifier message "{"
{ (address Type ";") |
(map param "(" { FormalValuePar [","] }+ ")") |
(unmap param "(" { FormalValuePar [","] }+ ")") |
((in | out | inout) { MessageType [ "," ] }+ ";") }
"}"]]>Carson He2016-12-17T08:39:32-00:00Re: Does Titan support "address" in port?
https://www.eclipse.org/forums/index.php/mv/msg/1083207/1750195/#msg_1750195
this usage of address is not supported currently;
I believe it is safe to assume that if you use Titan you will also use Titan test ports and these will not need the above usage.
There is a special usage of address which is declared as an extension to a test port declaration:
with {extension "address"}
but this is only used and needed if I remember correctly only for the SIPmsg test port
For details , see referenceguide 3.7 Address Type
and API guide 2.4 Support of address type
Similarly, map param and unmap param are not supported either:
test port parameters are assigned via the configuration file
and in some cases (where the port supports it) can be changed dynamically from the TTCN-3 code by sending appropriate configuration messages; but this differs from port to port.