Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Titan » Does Titan support "address" in port?
icon3.gif  Does Titan support "address" in port? [message #1750193] Sat, 17 December 2016 08:39 Go to next message
Carson He is currently offline Carson HeFriend
Messages: 6
Registered: December 2016
Junior Member
May I use address in port?
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 [ "," ] }+ ";") }
"}"
Re: Does Titan support "address" in port? [message #1750195 is a reply to message #1750193] Sat, 17 December 2016 09:38 Go to previous message
Elemer Lelik is currently offline Elemer LelikFriend
Messages: 807
Registered: January 2015
Senior Member
Hi Carson,

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

https://github.com/eclipse/titan.TestPorts.SIPmsg

else you should not need to assign an address.

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.


I hope this helps

Best regards

Elemer

Previous Topic:Titan Architecture Internals: On how the compiler and the Designer are optimized differently
Next Topic:Titan eclipse compilation issues
Goto Forum:
  


Current Time: Sat Sep 22 20:23:54 GMT 2018

Powered by FUDForum. Page generated in 0.01198 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top