Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: getreply / signature question

getreply / signature question 24 Jun 2008 07:36 #7361

In the 3.3.7 draft, at the end of 22.3.4, there's this example:

any port.getreply(Myproc)

But Myproc is only a signature, not a template instance, which is
supposed to have a "TemplateBody”. Or do signatures count as template
instances somehow? Help would be much appreciated!

--
Regards,
Mike
The administrator has disabled public write access.

getreply / signature question 24 Jun 2008 08:15 #7362

Hello Mike,

You are right, the template body is mandatory. Therefore the example should be
any port.getreply(Myproc:?) or
any port.getreply(Myproc:{?,?})

The same error also exists for the getcall operation, clause 22.3.2, Example 4.

Best regards

Thomas

|
| Thomas Deiß |
| Nokia Siemens Networks |
| Heltorferstrasse 21, D-40472 Düsseldorf, Germany |
| Internal: 828 3584 |
| Mob: +49 151 5515 3584, tel: +49 211 9412 3584 |
| email: This email address is being protected from spambots. You need JavaScript enabled to view it. |
|


>
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, 24. June 2008 09:37
>To: This email address is being protected from spambots. You need JavaScript enabled to view it.
>Subject: getreply / signature question
>
>In the 3.3.7 draft, at the end of 22.3.4, there's this example:
>
>any port.getreply(Myproc)
>
>But Myproc is only a signature, not a template instance, which
>is supposed to have a "TemplateBody". Or do signatures count
>as template instances somehow? Help would be much appreciated!
>
>--
>Regards,
>Mike
>
The administrator has disabled public write access.

getreply / signature question 24 Jun 2008 10:42 #7363

  • György Réthy
  • György Réthy's Avatar
  • OFFLINE
  • Moderator
  • Posts: 189
  • Thank you received: 1
  • Karma: 1
Hi Mike,

thanks for your careful reading. No, there is no "implicit template" associated with signatures, this is just an error in the text; it should be e.g.
any port.getreply(Myproc:?);

It would be useful to send a comment to the MTS-GEN mailing list on this. You can do it, if you are subscribed, or I can do it on your behalf, if you wish.

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: Tuesday, 24 June, 2008 9:37 AM
> To: This email address is being protected from spambots. You need JavaScript enabled to view it.
> Subject: getreply / signature question
>
> In the 3.3.7 draft, at the end of 22.3.4, there's this example:
>
> any port.getreply(Myproc)
>
> But Myproc is only a signature, not a template instance,
> which is supposed to have a "TemplateBody". Or do signatures
> count as template instances somehow? Help would be much appreciated!
>
> --
> Regards,
> Mike
>
The administrator has disabled public write access.
  • Page:
  • 1

FacebookTwitterGoogle BookmarksRedditNewsvineTechnoratiLinkedin