<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
	<link rel="stylesheet" type="text/css" href="http://oldforge.etsi.org/mantis/css/default.css" />
	<script type="text/javascript"><!--
		if(document.layers) {document.write("<style>td{padding:0px;}<\/style>")}
	// --></script>
	<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
	<meta http-equiv="Pragma" content="no-cache" />
	<meta http-equiv="Cache-Control" content="no-cache" />
	<meta http-equiv="Pragma-directive" content="no-cache" />
	<meta http-equiv="Cache-Directive" content="no-cache" />
	<meta http-equiv="Expires" content="Tue, 17 Dec 2024 09:18:14 GMT" />
	<link rel="shortcut icon" href="/mantis/images/favicon.ico" type="image/x-icon" />
	<link rel="search" type="application/opensearchdescription+xml" title="MantisBT: Text Search" href="http://oldforge.etsi.org/mantis/browser_search_plugin.php?type=text" />	<link rel="search" type="application/opensearchdescription+xml" title="MantisBT: Issue Id" href="http://oldforge.etsi.org/mantis/browser_search_plugin.php?type=id" />	<title>0005888: An alternative TRI to handle messages and objects directly - ETSI's Bug Tracker</title>
<script type="text/javascript" src="/mantis/javascript/min/common.js"></script>
<script type="text/javascript">var loading_lang = "Loading...";</script><script type="text/javascript" src="/mantis/javascript/min/ajax.js"></script>
</head>
<body>
<br /><table class="width100" cellspacing="1"><tr><td class="form-title" colspan="6"><div class="center">ETSI's Bug Tracker - Ext Pack: Extended TRI (ES 202 789)</div></td></tr><tr><td class="form-title" colspan="6">View Issue Details</td></tr><tr><td class="print-spacer" colspan="6"><hr size="1" /></td></tr><tr class="print-category"><td class="print" width="16%">ID</td><td class="print" width="16%">Project</td><td class="print" width="16%">Category</td><td class="print" width="16%">View Status</td><td class="print" width="16%">Date Submitted</td><td class="print" width="16%">Last Update</td></tr><tr class="print"><td class="print">0005888</td><td class="print">Ext Pack: Extended TRI (ES 202 789)</td><td class="print">New Feature</td><td class="print">public</td><td class="print">25-05-2011 10:04</td><td class="print">15-12-2011 13:53</td></tr><tr><td class="print-spacer" colspan="6"><hr size="1" /></td></tr><tr class="print"><td class="print-category">Reporter</td><td class="print">Ina Schieferdecker</td><td class="print" colspan="4">&#160;</td></tr><tr class="print"><td class="print-category">Assigned To</td><td class="print">Ina Schieferdecker</td><td class="print" colspan="4">&#160;</td></tr><tr class="print"><td class="print-category">Priority</td><td class="print">normal</td><td class="print-category">Severity</td><td class="print">major</td><td class="print-category">Reproducibility</td><td class="print">have not tried</td></tr><tr class="print"><td class="print-category">Status</td><td class="print">closed</td><td class="print-category">Resolution</td><td class="print">fixed</td><td class="print" colspan="2">&#160;</td></tr><tr class="print"><td class="print-category">Platform</td><td class="print"></td><td class="print-category">OS</td><td class="print"></td><td class="print-category">OS Version</td><td class="print"></td></tr><tr class="print"><td class="print-category">Product Version</td><td class="print"></td><td class="print" colspan="4">&#160;</td></tr><tr><td class="print-category">Target Version</td><td class="print">v1.1.1 (published 2012-04)</td><td class="print-category">Fixed in Version</td><td class="print">v1.1.1 (published 2012-04)</td><td class="print" colspan="2">&#160;</td></tr><tr class="print"><td class="print-category">Clause Reference(s)</td><td class="print" colspan="4">Part 5</td></tr><tr class="print"><td class="print-category">Source  (company  - Author)</td><td class="print" colspan="4">Ina Schieferdecker, FOKUS</td></tr><tr><td class="print-spacer" colspan="6"><hr size="1" /></td></tr><tr class="print"><td class="print-category">Summary</td><td class="print" colspan="5">0005888: An alternative TRI to handle messages and objects directly</td></tr><tr class="print"><td class="print-category">Description</td><td class="print" colspan="5">Historically, TTCN has been used to test communication protocols which typically use encoded messages. <br />
<br />
This has been reflected in the TRI SA and TCI CD design of TTCN-3 by encoding and decoding mesages to/from bitstrings. <br />
<br />
However, TTCN-3 also supports signature-based communication for which the transformation of objects into bitstrings and vice versa is cumbersome.<br />
<br />
Furthermore, some protocols use also structured messages for which the bitstring encoding is not helpful.<br />
<br />
Therefore, an alternative API is being proposed along which TTCN-3 values can be directly passed to/from the SUT.<br />
<br />
Further details are given in the attached ppt.</td></tr><tr class="print"><td class="print-category">Steps To Reproduce</td><td class="print" colspan="5"></td></tr><tr class="print"><td class="print-category">Additional Information</td><td class="print" colspan="5"></td></tr><tr class="print"><td class="print-category">Tags</td><td class="print" colspan="5">No tags attached.</td></tr><tr class="print"><td class="print-category">Relationships</td><td class="print" colspan="5"><table border="0" width="100%" cellpadding="0" cellspacing="1"><tr><td class="print"><span class="nowrap">related to</span>&#160;</td><td class="print">0004275</td><td class="print">closed&#160;</td><td class="print"><span class="nowrap"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a></span>&#160;</td><td class="print">Part 01: TTCN-3 Core Language&#160;</td><td class="print">New Concepts to be defined via Packages&#160;</td></tr></table></td></tr><tr class="print"><td class="print-category">Attached Files</td><td class="print" colspan="5"><img src="http://oldforge.etsi.org/mantis/images/fileicons/ppt.gif" alt="pptx" />&#160;An alternative TTCN-3 TRI API to address software.pptx (62,413) <span class="italic">25-05-2011 14:17</span><br />http://oldforge.etsi.org/mantis/file_download.php?file_id=2482&amp;type=bug<br /><img src="http://oldforge.etsi.org/mantis/images/fileicons/ppt.gif" alt="pptx" />&#160;An alternative TTCN-3 TRI API to address software_v2.pptx (65,825) <span class="italic">26-05-2011 16:58</span><br />http://oldforge.etsi.org/mantis/file_download.php?file_id=2511&amp;type=bug<br /><img src="http://oldforge.etsi.org/mantis/images/fileicons/pdf.gif" alt="pdf" />&#160;Tutorial_T3UC_2011_new_architecture_concrete_layer_v4.pdf (1,050,415) <span class="italic">13-06-2011 19:50</span><br />http://oldforge.etsi.org/mantis/file_download.php?file_id=2522&amp;type=bug<br /><img src="http://oldforge.etsi.org/mantis/images/fileicons/doc.gif" alt="doc" />&#160;es_TTCN3Package_XTRI_v003.doc (323,584) <span class="italic">30-06-2011 10:45</span><br />http://oldforge.etsi.org/mantis/file_download.php?file_id=2531&amp;type=bug<br /><img src="http://oldforge.etsi.org/mantis/images/fileicons/doc.gif" alt="docx" />&#160;es_TTCN3Package_XTRI_v004.docx (190,653) <span class="italic">30-09-2011 11:37</span><br />http://oldforge.etsi.org/mantis/file_download.php?file_id=2580&amp;type=bug<br /><img src="http://oldforge.etsi.org/mantis/images/fileicons/doc.gif" alt="docx" />&#160;es_TTCN3Package_XTRI_v005.docx (189,400) <span class="italic">01-12-2011 13:54</span><br />http://oldforge.etsi.org/mantis/file_download.php?file_id=2643&amp;type=bug<br /><img src="http://oldforge.etsi.org/mantis/images/fileicons/zip.gif" alt="zip" />&#160;es_TTCN3Package_XTRI_v006.zip (184,783) <span class="italic">01-12-2011 14:27</span><br />http://oldforge.etsi.org/mantis/file_download.php?file_id=2644&amp;type=bug<br /><img src="http://oldforge.etsi.org/mantis/images/fileicons/doc.gif" alt="docx" />&#160;es_TTCN3Package_XTRI_v007.docx (195,093) <span class="italic">02-12-2011 12:41</span><br />http://oldforge.etsi.org/mantis/file_download.php?file_id=2656&amp;type=bug</td></tr><tr><td class="print-spacer" colspan="6"><hr size="1" /></td></tr><tr><td class="form-title">Issue History</td></tr><tr class="print-category"><td class="row-category-history">Date Modified</td><td class="row-category-history">Username</td><td class="row-category-history">Field</td><td class="row-category-history">Change</td></tr><tr class="print"><td class="print">25-05-2011 10:04</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a></td><td class="print">New Issue</td><td class="print"></td></tr><tr class="print"><td class="print">25-05-2011 10:04</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a></td><td class="print">File Added: An alternative TTCN-3 TRI API to address software.pptx</td><td class="print"></td></tr><tr class="print"><td class="print">25-05-2011 10:04</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a></td><td class="print">Clause Reference(s)</td><td class="print"> =&gt; Part 5</td></tr><tr class="print"><td class="print">25-05-2011 10:04</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a></td><td class="print">Source  (company  - Author)</td><td class="print"> =&gt; Ina Schieferdecker, FOKUS</td></tr><tr class="print"><td class="print">25-05-2011 11:54</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a></td><td class="print">File Deleted: An alternative TTCN-3 TRI API to address software.pptx</td><td class="print"></td></tr><tr class="print"><td class="print">25-05-2011 11:54</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a></td><td class="print">File Added: An alternative TTCN-3 TRI API to address software.pptx</td><td class="print"></td></tr><tr class="print"><td class="print">25-05-2011 14:16</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a></td><td class="print">File Deleted: An alternative TTCN-3 TRI API to address software.pptx</td><td class="print"></td></tr><tr class="print"><td class="print">25-05-2011 14:17</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a></td><td class="print">File Added: An alternative TTCN-3 TRI API to address software.pptx</td><td class="print"></td></tr><tr class="print"><td class="print">25-05-2011 14:17</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a></td><td class="print">Project</td><td class="print">TTCN-3 Change Requests =&gt; Ext Pack: Extended TRI (ES 202 789)</td></tr><tr class="print"><td class="print">25-05-2011 14:17</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a></td><td class="print">Status</td><td class="print">new =&gt; assigned</td></tr><tr class="print"><td class="print">25-05-2011 14:17</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a></td><td class="print">Assigned To</td><td class="print"> =&gt; Ina Schieferdecker</td></tr><tr class="print"><td class="print">25-05-2011 14:30</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=508">Jacob Wieland - Spirent</a></td><td class="print">Note Added: 0010053</td><td class="print"></td></tr><tr class="print"><td class="print">26-05-2011 12:35</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a></td><td class="print">File Added: An alternative TTCN-3 TRI API to address software_v2.pptx</td><td class="print"></td></tr><tr class="print"><td class="print">26-05-2011 12:36</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a></td><td class="print">Note Added: 0010083</td><td class="print"></td></tr><tr class="print"><td class="print">26-05-2011 15:48</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a></td><td class="print">Relationship added</td><td class="print">related to 0004275</td></tr><tr class="print"><td class="print">26-05-2011 16:57</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a></td><td class="print">File Deleted: An alternative TTCN-3 TRI API to address software_v2.pptx</td><td class="print"></td></tr><tr class="print"><td class="print">26-05-2011 16:58</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a></td><td class="print">File Added: An alternative TTCN-3 TRI API to address software_v2.pptx</td><td class="print"></td></tr><tr class="print"><td class="print">27-05-2011 12:36</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=508">Jacob Wieland - Spirent</a></td><td class="print">Note Added: 0010100</td><td class="print"></td></tr><tr class="print"><td class="print">13-06-2011 19:50</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=685">Bernard Stepien</a></td><td class="print">File Added: Tutorial_T3UC_2011_new_architecture_concrete_layer_v4.pdf</td><td class="print"></td></tr><tr class="print"><td class="print">13-06-2011 19:53</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=685">Bernard Stepien</a></td><td class="print">Note Added: 0010115</td><td class="print"></td></tr><tr class="print"><td class="print">13-06-2011 19:54</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=685">Bernard Stepien</a></td><td class="print">Note Edited: 0010115</td><td class="print"></td></tr><tr class="print"><td class="print">15-06-2011 17:38</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=543">Ming Shang</a></td><td class="print">Note Added: 0010116</td><td class="print"></td></tr><tr class="print"><td class="print">30-06-2011 10:45</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a></td><td class="print">File Added: es_TTCN3Package_XTRI_v003.doc</td><td class="print"></td></tr><tr class="print"><td class="print">30-06-2011 14:46</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a></td><td class="print">Note Added: 0010159</td><td class="print"></td></tr><tr class="print"><td class="print">30-06-2011 14:54</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a></td><td class="print">Resolution</td><td class="print">open =&gt; fixed</td></tr><tr class="print"><td class="print">30-06-2011 14:54</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a></td><td class="print">Target Version</td><td class="print"> =&gt; v1.1.1</td></tr><tr class="print"><td class="print">30-09-2011 11:37</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a></td><td class="print">File Added: es_TTCN3Package_XTRI_v004.docx</td><td class="print"></td></tr><tr class="print"><td class="print">30-11-2011 09:33</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=508">Jacob Wieland - Spirent</a></td><td class="print">Note Added: 0010416</td><td class="print"></td></tr><tr class="print"><td class="print">30-11-2011 09:55</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=508">Jacob Wieland - Spirent</a></td><td class="print">Note Added: 0010422</td><td class="print"></td></tr><tr class="print"><td class="print">01-12-2011 12:30</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a></td><td class="print">Note Added: 0010471</td><td class="print"></td></tr><tr class="print"><td class="print">01-12-2011 12:30</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a></td><td class="print">Note Added: 0010472</td><td class="print"></td></tr><tr class="print"><td class="print">01-12-2011 12:31</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a></td><td class="print">Note Added: 0010473</td><td class="print"></td></tr><tr class="print"><td class="print">01-12-2011 12:31</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a></td><td class="print">Note Added: 0010474</td><td class="print"></td></tr><tr class="print"><td class="print">01-12-2011 12:33</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a></td><td class="print">Note Added: 0010475</td><td class="print"></td></tr><tr class="print"><td class="print">01-12-2011 13:54</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a></td><td class="print">File Added: es_TTCN3Package_XTRI_v005.docx</td><td class="print"></td></tr><tr class="print"><td class="print">01-12-2011 13:56</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a></td><td class="print">Note Added: 0010481</td><td class="print"></td></tr><tr class="print"><td class="print">01-12-2011 13:56</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a></td><td class="print">Assigned To</td><td class="print">Ina Schieferdecker =&gt; Jacob Wieland - Spirent</td></tr><tr class="print"><td class="print">01-12-2011 14:04</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=543">Ming Shang</a></td><td class="print">Note Added: 0010482</td><td class="print"></td></tr><tr class="print"><td class="print">01-12-2011 14:27</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=508">Jacob Wieland - Spirent</a></td><td class="print">File Added: es_TTCN3Package_XTRI_v006.zip</td><td class="print"></td></tr><tr class="print"><td class="print">01-12-2011 14:30</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=508">Jacob Wieland - Spirent</a></td><td class="print">Note Added: 0010485</td><td class="print"></td></tr><tr class="print"><td class="print">01-12-2011 14:31</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=508">Jacob Wieland - Spirent</a></td><td class="print">Assigned To</td><td class="print">Jacob Wieland - Spirent =&gt; Ina Schieferdecker</td></tr><tr class="print"><td class="print">02-12-2011 12:41</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a></td><td class="print">Note Added: 0010514</td><td class="print"></td></tr><tr class="print"><td class="print">02-12-2011 12:41</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a></td><td class="print">File Added: es_TTCN3Package_XTRI_v007.docx</td><td class="print"></td></tr><tr class="print"><td class="print">02-12-2011 12:42</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a></td><td class="print">Note Added: 0010515</td><td class="print"></td></tr><tr class="print"><td class="print">15-12-2011 13:52</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a></td><td class="print">Status</td><td class="print">assigned =&gt; resolved</td></tr><tr class="print"><td class="print">15-12-2011 13:52</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a></td><td class="print">Fixed in Version</td><td class="print"> =&gt; v1.1.1</td></tr><tr class="print"><td class="print">15-12-2011 13:53</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a></td><td class="print">Status</td><td class="print">resolved =&gt; closed</td></tr></table>
<br />
<table class="width100" cellspacing="1">
<tr>
	<td class="form-title" colspan="2">
		Notes	</td>
</tr>
<tr>
	<td class="print-spacer" colspan="2">
		<hr size="1" />
	</td>
</tr>
<tr>
	<td class="nopad" valign="top" width="20%">
		<table class="hide" cellspacing="1">
		<tr>
			<td class="print">
				(0010053)
			</td>
		</tr>
		<tr>
			<td class="print">
				<a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=508">Jacob Wieland - Spirent</a>&#160;&#160;&#160;
			</td>
		</tr>
		<tr>
			<td class="print">
				25-05-2011 14:30&#160;&#160;&#160;
							</td>
		</tr>
		</table>
	</td>
	<td class="nopad" valign="top" width="85%">
		<table class="hide" cellspacing="1">
		<tr>
			<td class="print">
				I think this is a well-rounded concept. One question that remains is how to change the names of the interfaces/functions so they don't clash with the existing names in TRI so that they can exist side-by-side.<br />
<br />
I would propose to change the TRI/tri consistently to something else:<br />
- ETRI (Extended TRI)<br />
- VTRI (Value-Based TRI)<br />
- TVRI (TTCN-3 Value-based Runtime Interface)<br />
- STRI (Software-TRI)<br />
- ... ?			</td>
		</tr>
		</table>
	</td>
</tr>
<tr>
	<td class="print-spacer" colspan="2">
		<hr size="1" />
	</td>
</tr>
<tr>
	<td class="nopad" valign="top" width="20%">
		<table class="hide" cellspacing="1">
		<tr>
			<td class="print">
				(0010083)
			</td>
		</tr>
		<tr>
			<td class="print">
				<a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a>&#160;&#160;&#160;
			</td>
		</tr>
		<tr>
			<td class="print">
				26-05-2011 12:36&#160;&#160;&#160;
							</td>
		</tr>
		</table>
	</td>
	<td class="nopad" valign="top" width="85%">
		<table class="hide" cellspacing="1">
		<tr>
			<td class="print">
				Agreed on a name for the new interface: XTRI.<br />
<br />
Agreed to add a decode function for those cases where the type is not known by the adaptor.<br />
<br />
Next is to develop the draft extension package as outlined.			</td>
		</tr>
		</table>
	</td>
</tr>
<tr>
	<td class="print-spacer" colspan="2">
		<hr size="1" />
	</td>
</tr>
<tr>
	<td class="nopad" valign="top" width="20%">
		<table class="hide" cellspacing="1">
		<tr>
			<td class="print">
				(0010100)
			</td>
		</tr>
		<tr>
			<td class="print">
				<a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=508">Jacob Wieland - Spirent</a>&#160;&#160;&#160;
			</td>
		</tr>
		<tr>
			<td class="print">
				27-05-2011 12:36&#160;&#160;&#160;
							</td>
		</tr>
		</table>
	</td>
	<td class="nopad" valign="top" width="85%">
		<table class="hide" cellspacing="1">
		<tr>
			<td class="print">
				Maybe we should rename the decode method to 'cast' (and the decodingHypothesis parameter simply to type) - because that is in essence, what it does.<br />
<br />
Value cast(Value value, Type type)			</td>
		</tr>
		</table>
	</td>
</tr>
<tr>
	<td class="print-spacer" colspan="2">
		<hr size="1" />
	</td>
</tr>
<tr>
	<td class="nopad" valign="top" width="20%">
		<table class="hide" cellspacing="1">
		<tr>
			<td class="print">
				(0010115)
			</td>
		</tr>
		<tr>
			<td class="print">
				<a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=685">Bernard Stepien</a>&#160;&#160;&#160;
			</td>
		</tr>
		<tr>
			<td class="print">
				13-06-2011 19:53&#160;&#160;&#160;
				<br />(edited on:&#32;13-06-2011 19:54)			</td>
		</tr>
		</table>
	</td>
	<td class="nopad" valign="top" width="85%">
		<table class="hide" cellspacing="1">
		<tr>
			<td class="print">
				We (University of Ottawa and Research and Motion ltd) have implemented this concept in January 2010 and also convinced one of the tool vendors to include it in their current release. Thus, we have 18 months of successful usage of this concept and can happilly agree that this concept is very useful. See our T3UC 2011 tutorial at <a href="http://www.site.uottawa.ca/~bernard/Tutorial_T3UC_2011_new_architecture_concrete_layer_v4.pdf">http://www.site.uottawa.ca/~bernard/Tutorial_T3UC_2011_new_architecture_concrete_layer_v4.pdf</a> [<a href="http://www.site.uottawa.ca/~bernard/Tutorial_T3UC_2011_new_architecture_concrete_layer_v4.pdf" target="_blank">^</a>]<br />
<br />
			</td>
		</tr>
		</table>
	</td>
</tr>
<tr>
	<td class="print-spacer" colspan="2">
		<hr size="1" />
	</td>
</tr>
<tr>
	<td class="nopad" valign="top" width="20%">
		<table class="hide" cellspacing="1">
		<tr>
			<td class="print">
				(0010116)
			</td>
		</tr>
		<tr>
			<td class="print">
				<a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=543">Ming Shang</a>&#160;&#160;&#160;
			</td>
		</tr>
		<tr>
			<td class="print">
				15-06-2011 17:38&#160;&#160;&#160;
							</td>
		</tr>
		</table>
	</td>
	<td class="nopad" valign="top" width="85%">
		<table class="hide" cellspacing="1">
		<tr>
			<td class="print">
				This is Ming Shang from Research In Motion (RIM), Bernard Stepien and I took another approach to solve this problem. Instead of changing the interface specification, we recommended that the TriMessage interface be extended to contain extra information at the runtime.  The extended methods for TriMessage look like: <br />
&#160;void setAttachement(Object attachement), <br />
&#160;Object getAttachment()<br />
<br />
Advantages: <br />
No fundamental changes required for the TRI<br />
<br />
Disadvantages:<br />
Applied only to the single-rooted inheritance language like Java, under which Object object can represent anything. May not work in the C/C++ domain.<br />
<br />
Prerequisite for the Java implementation Runtime (if Java domain):<br />
Classloader(s) for codec and TestAdapter plugins have to be consistent to avoid java.lang.ClassCastException			</td>
		</tr>
		</table>
	</td>
</tr>
<tr>
	<td class="print-spacer" colspan="2">
		<hr size="1" />
	</td>
</tr>
<tr>
	<td class="nopad" valign="top" width="20%">
		<table class="hide" cellspacing="1">
		<tr>
			<td class="print">
				(0010159)
			</td>
		</tr>
		<tr>
			<td class="print">
				<a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a>&#160;&#160;&#160;
			</td>
		</tr>
		<tr>
			<td class="print">
				30-06-2011 14:46&#160;&#160;&#160;
							</td>
		</tr>
		</table>
	</td>
	<td class="nopad" valign="top" width="85%">
		<table class="hide" cellspacing="1">
		<tr>
			<td class="print">
				We have discussed the proposal by RIM and came to the conclusion that the seperation between tri and xtri is the cleaner method to enable direct access to objects via the SA. Old and new TRI could be used in combination - depending on which TSI interfaces should be adapted how. We continue with xtri as proposed.			</td>
		</tr>
		</table>
	</td>
</tr>
<tr>
	<td class="print-spacer" colspan="2">
		<hr size="1" />
	</td>
</tr>
<tr>
	<td class="nopad" valign="top" width="20%">
		<table class="hide" cellspacing="1">
		<tr>
			<td class="print">
				(0010416)
			</td>
		</tr>
		<tr>
			<td class="print">
				<a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=508">Jacob Wieland - Spirent</a>&#160;&#160;&#160;
			</td>
		</tr>
		<tr>
			<td class="print">
				30-11-2011 09:33&#160;&#160;&#160;
							</td>
		</tr>
		</table>
	</td>
	<td class="nopad" valign="top" width="85%">
		<table class="hide" cellspacing="1">
		<tr>
			<td class="print">
				For using arbitrary objects in the C-world, I propose to use a type construct like this:<br />
<br />
typedef enumerated {<br />
&#160;&#160;e_int,<br />
&#160;&#160;e_long,<br />
&#160;&#160;...<br />
&#160;&#160;e_ptr<br />
} type_kind;<br />
<br />
typedef void *value;<br />
<br />
typedef struct {<br />
&#160;&#160;type_kind tag,<br />
&#160;&#160;value val<br />
} Object;<br />
<br />
The value-pointer shall always be a pointer to the type corresponding to the the tag, so it can then be cast (and dereferenced if it is a base type).<br />
<br />
Alternatively, value could be defined as a union over all C primitive types and pointer.<br />
<br />
typedef union {<br />
&#160;&#160;int v_int,<br />
&#160;&#160;long v_long,<br />
&#160;&#160;...<br />
&#160;&#160;void *v_ptr<br />
} value;<br />
<br />
In this case, instead of casting, the proper union-variant must be used depending on the tag. Again, consistency between tag and value must be assumed.<br />
<br />
With these definitions, in the C mapping whenever a C-value needs to be passed into the TTCN-3 world without the target type being known (i.e. for receive and catch), you would use this kind of Object type.<br />
<br />
The convert function to be implemented by the test adapter (and to be used both by the Test Adapter and the TE) would then become like this:<br />
<br />
TciValue convert(Object value, TciType type)<br />
<br />
I don't think that we should use Object for passing DOWN to the adapter as then it would fall to the TE to decide how to map Value to Object where it knows nothing about the target to be adapted. (Is the function parameter a long or an int?). Only the adapter layer can know this and has already a clean way via the TCI value interface of accessing the values to be mapped. <br />
<br />
For procedure based communication, we should still use some TciParameterList which encapsulates a list of TciParameters (i.e. tuple of name, mode, Value). Then, for out or inout parameters, the convert function would need to be called by the testadapter layer with the value obtained from the target world and the type of the parameter obtainable from the parameter-Value object.<br />
<br />
So, to summarize:<br />
<br />
- xtriSend, xtriRaise should use TciValue<br />
- xtriCall, xtriReply, xtriEnqueueReply, xtriEnqueueCall should use TciParameterList (and TciValue for reply result)<br />
- triEnqueueMsg, triEnqueueException should use Object			</td>
		</tr>
		</table>
	</td>
</tr>
<tr>
	<td class="print-spacer" colspan="2">
		<hr size="1" />
	</td>
</tr>
<tr>
	<td class="nopad" valign="top" width="20%">
		<table class="hide" cellspacing="1">
		<tr>
			<td class="print">
				(0010422)
			</td>
		</tr>
		<tr>
			<td class="print">
				<a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=508">Jacob Wieland - Spirent</a>&#160;&#160;&#160;
			</td>
		</tr>
		<tr>
			<td class="print">
				30-11-2011 09:55&#160;&#160;&#160;
							</td>
		</tr>
		</table>
	</td>
	<td class="nopad" valign="top" width="85%">
		<table class="hide" cellspacing="1">
		<tr>
			<td class="print">
				To be more precise, we would need the following enum:<br />
<br />
typedef enumerated {<br />
&#160;&#160;e_int,         // signed int<br />
&#160;&#160;e_short,       // signed short int<br />
&#160;&#160;e_long,        // signed long int<br />
&#160;&#160;e_char,        // char<br />
&#160;&#160;e_uint,        // unsigned int<br />
&#160;&#160;e_ushort,      // unsigned short int<br />
&#160;&#160;e_ulong,       // unsigned long int<br />
&#160;&#160;e_uchar,       // unsigned char<br />
&#160;&#160;e_schar,       // signed char<br />
&#160;&#160;e_float,       // float<br />
&#160;&#160;e_double,      // double<br />
&#160;&#160;e_long_double, // long double<br />
&#160;&#160;e_ptr          // void *<br />
} type_kind;<br />
<br />
and the following union (if the union variant is used:<br />
<br />
typedef union {<br />
&#160;&#160;signed int v_int,         <br />
&#160;&#160;signed short int v_short, <br />
&#160;&#160;signed long int v_long, <br />
&#160;&#160;char v_char, <br />
&#160;&#160;unsigned int v_uint, <br />
&#160;&#160;unsigned short int v_ushort, <br />
&#160;&#160;unsigned long int v_ulong, <br />
&#160;&#160;unsigned char v_uchar, <br />
&#160;&#160;signed char v_schar, <br />
&#160;&#160;float v_float,<br />
&#160;&#160;double v_double, <br />
&#160;&#160;long double v_long_double,<br />
&#160;&#160;void *v_ptr          // <br />
} type_kind;			</td>
		</tr>
		</table>
	</td>
</tr>
<tr>
	<td class="print-spacer" colspan="2">
		<hr size="1" />
	</td>
</tr>
<tr>
	<td class="nopad" valign="top" width="20%">
		<table class="hide" cellspacing="1">
		<tr>
			<td class="print">
				(0010471)
			</td>
		</tr>
		<tr>
			<td class="print">
				<a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a>&#160;&#160;&#160;
			</td>
		</tr>
		<tr>
			<td class="print">
				01-12-2011 12:30&#160;&#160;&#160;
							</td>
		</tr>
		</table>
	</td>
	<td class="nopad" valign="top" width="85%">
		<table class="hide" cellspacing="1">
		<tr>
			<td class="print">
				Am 30.09.2011 um 09:47 schrieb Schieferdecker, Ina:<br />
<br />
<br />
&#160;&#160;&#160;&#160;Dear all<br />
&#160;&#160;&#160;&#160;&#160;<br />
&#160;&#160;&#160;&#160;We have developed the extended TRI  (XTRI) package, which defines a more efficient handling of software values. It does not use binary encoded messages for the communication with the SUT, but uses the values as they are; meaning e.g. that software objects or serialized data can be passed directly between the SUT and the TE. The current proposal is available at <a href="http://t-ort.etsi.org/view.php?id=5888">http://t-ort.etsi.org/view.php?id=5888</a> [<a href="http://t-ort.etsi.org/view.php?id=5888" target="_blank">^</a>]<br />
&#160;&#160;&#160;&#160;&#160;<br />
&#160;&#160;&#160;&#160;This week we have been pointed to the possibility to base the extended TRI operations on Objects instead of Values in order to handle a more general case where any object could be treated by extended TRI that way.  There are pros and cons and finally we decided to ask you in order to go for the solution that is considered the best for extended TRI.<br />
&#160;&#160;&#160;&#160;&#160;<br />
&#160;&#160;&#160;&#160;Hence, please be so kind to respond by end of next week:<br />
&#160;&#160;&#160;&#160;&#160;<br />
&#160;&#160;&#160;&#160;Should the extended TRI handle TCI Values or generic Objects?<br />
&#160;&#160;&#160;&#160;&#160;<br />
&#160;&#160;&#160;&#160;Thank you  in advance<br />
&#160;&#160;&#160;&#160;<br />
&#160;&#160;&#160;&#160;Ina			</td>
		</tr>
		</table>
	</td>
</tr>
<tr>
	<td class="print-spacer" colspan="2">
		<hr size="1" />
	</td>
</tr>
<tr>
	<td class="nopad" valign="top" width="20%">
		<table class="hide" cellspacing="1">
		<tr>
			<td class="print">
				(0010472)
			</td>
		</tr>
		<tr>
			<td class="print">
				<a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a>&#160;&#160;&#160;
			</td>
		</tr>
		<tr>
			<td class="print">
				01-12-2011 12:30&#160;&#160;&#160;
							</td>
		</tr>
		</table>
	</td>
	<td class="nopad" valign="top" width="85%">
		<table class="hide" cellspacing="1">
		<tr>
			<td class="print">
				Hi Ina,<br />
<br />
we would prefer generic objects for the extended TRI. <br />
<br />
Best regards,<br />
Stephan			</td>
		</tr>
		</table>
	</td>
</tr>
<tr>
	<td class="print-spacer" colspan="2">
		<hr size="1" />
	</td>
</tr>
<tr>
	<td class="nopad" valign="top" width="20%">
		<table class="hide" cellspacing="1">
		<tr>
			<td class="print">
				(0010473)
			</td>
		</tr>
		<tr>
			<td class="print">
				<a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a>&#160;&#160;&#160;
			</td>
		</tr>
		<tr>
			<td class="print">
				01-12-2011 12:31&#160;&#160;&#160;
							</td>
		</tr>
		</table>
	</td>
	<td class="nopad" valign="top" width="85%">
		<table class="hide" cellspacing="1">
		<tr>
			<td class="print">
				Hello Ina,<br />
<br />
&#160;&#160;&#160;&#160;Looks like I started a discussion... My mention of the idea of<br />
passing generic Objects from the TA to the TE via the xenqueue() method was<br />
not from me but from a Java intensive collegue at RIM. I think, what most of<br />
the people do not understand is that with the new extension, the codec no<br />
longer needs to reside in the TE or better is invoked by the TE but instead<br />
is residing in the TA or more precisely is invoked by the TA. This is what I<br />
extensively presented in my tutorial at T3UC'11. In my special case, web<br />
testing using frameworks, this is essential. <br />
<br />
Hope this helps<br />
Bernard Stepien			</td>
		</tr>
		</table>
	</td>
</tr>
<tr>
	<td class="print-spacer" colspan="2">
		<hr size="1" />
	</td>
</tr>
<tr>
	<td class="nopad" valign="top" width="20%">
		<table class="hide" cellspacing="1">
		<tr>
			<td class="print">
				(0010474)
			</td>
		</tr>
		<tr>
			<td class="print">
				<a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a>&#160;&#160;&#160;
			</td>
		</tr>
		<tr>
			<td class="print">
				01-12-2011 12:31&#160;&#160;&#160;
							</td>
		</tr>
		</table>
	</td>
	<td class="nopad" valign="top" width="85%">
		<table class="hide" cellspacing="1">
		<tr>
			<td class="print">
				Elvior prefers generic objects.<br />
<br />
Best Regards,<br />
<br />
<br />
Andres Kull			</td>
		</tr>
		</table>
	</td>
</tr>
<tr>
	<td class="print-spacer" colspan="2">
		<hr size="1" />
	</td>
</tr>
<tr>
	<td class="nopad" valign="top" width="20%">
		<table class="hide" cellspacing="1">
		<tr>
			<td class="print">
				(0010475)
			</td>
		</tr>
		<tr>
			<td class="print">
				<a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a>&#160;&#160;&#160;
			</td>
		</tr>
		<tr>
			<td class="print">
				01-12-2011 12:33&#160;&#160;&#160;
							</td>
		</tr>
		</table>
	</td>
	<td class="nopad" valign="top" width="85%">
		<table class="hide" cellspacing="1">
		<tr>
			<td class="print">
				Dear Ina,<br />
<br />
Thank you for your kind answer during your holiday.<br />
<br />
In the light of this new information I think you are more prepared to<br />
select the correct API by yourself based on the feedback you have received<br />
already.<br />
<br />
Kind regards,<br />
Vesa-Matti<br />
<br />
&gt; Dear Vesa-Matti<br />
&gt;<br />
&gt; Sorry for answering only now - the difference would be basically that the<br />
&gt; operations defined by extended TRI would work on generic objects instead<br />
&gt; of values and that the conversion would allow to transform objects into<br />
&gt; specific values and vice versa. It would give even more flexibility than<br />
&gt; working on Values.<br />
&gt;<br />
&gt; Best regards<br />
&gt;<br />
&gt; Ina<br />
&gt;<br />
&gt; Subject: Re: RfC: Extended TRI for software testing based on Value or on<br />
&gt; Object ?!<br />
&gt;<br />
&gt;<br />
&gt; Dear Ina,<br />
&gt;<br />
&gt;&gt;&gt; Should the extended TRI handle TCI Values or generic Objects?<br />
&gt;<br />
&gt; I wonder if I have missed something last week but I have not yet received<br />
&gt; reply to my question about what was the difference between the two<br />
&gt; proposals given earlier.<br />
&gt;<br />
&gt; What would be the technical difference between &quot;TCI Values&quot; and &quot;generic<br />
&gt; Objects&quot; proposals?<br />
&gt;<br />
&gt; Kind regards,<br />
&gt; Vesa-Matti			</td>
		</tr>
		</table>
	</td>
</tr>
<tr>
	<td class="print-spacer" colspan="2">
		<hr size="1" />
	</td>
</tr>
<tr>
	<td class="nopad" valign="top" width="20%">
		<table class="hide" cellspacing="1">
		<tr>
			<td class="print">
				(0010481)
			</td>
		</tr>
		<tr>
			<td class="print">
				<a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a>&#160;&#160;&#160;
			</td>
		</tr>
		<tr>
			<td class="print">
				01-12-2011 13:56&#160;&#160;&#160;
							</td>
		</tr>
		</table>
	</td>
	<td class="nopad" valign="top" width="85%">
		<table class="hide" cellspacing="1">
		<tr>
			<td class="print">
				generic objects represented as IDL any. <br />
<br />
representations for any defined in C, C++ (struct with type tag), C# and Java (Object)<br />
<br />
main principle: TE works with Value, SA works with Value/TciParameter when type is clear, otherwise with any<br />
<br />
Please review.			</td>
		</tr>
		</table>
	</td>
</tr>
<tr>
	<td class="print-spacer" colspan="2">
		<hr size="1" />
	</td>
</tr>
<tr>
	<td class="nopad" valign="top" width="20%">
		<table class="hide" cellspacing="1">
		<tr>
			<td class="print">
				(0010482)
			</td>
		</tr>
		<tr>
			<td class="print">
				<a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=543">Ming Shang</a>&#160;&#160;&#160;
			</td>
		</tr>
		<tr>
			<td class="print">
				01-12-2011 14:04&#160;&#160;&#160;
							</td>
		</tr>
		</table>
	</td>
	<td class="nopad" valign="top" width="85%">
		<table class="hide" cellspacing="1">
		<tr>
			<td class="print">
				From RIM perspective, generic object is strongly perferred.			</td>
		</tr>
		</table>
	</td>
</tr>
<tr>
	<td class="print-spacer" colspan="2">
		<hr size="1" />
	</td>
</tr>
<tr>
	<td class="nopad" valign="top" width="20%">
		<table class="hide" cellspacing="1">
		<tr>
			<td class="print">
				(0010485)
			</td>
		</tr>
		<tr>
			<td class="print">
				<a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=508">Jacob Wieland - Spirent</a>&#160;&#160;&#160;
			</td>
		</tr>
		<tr>
			<td class="print">
				01-12-2011 14:30&#160;&#160;&#160;
							</td>
		</tr>
		</table>
	</td>
	<td class="nopad" valign="top" width="85%">
		<table class="hide" cellspacing="1">
		<tr>
			<td class="print">
				mostly editorial changes, for xtriEnqueueExc Value was replaced by any/Object (resp. mapping) as TTCN-3 type is not known by TA. <br />
<br />
Value/ValueList parameter names replaced by SUTaddress/SUTaddresses according to header.<br />
<br />
Deleted sentence about ValueList being used as parameter list.<br />
<br />
renamed decodingHypothesis to typeHypothesis			</td>
		</tr>
		</table>
	</td>
</tr>
<tr>
	<td class="print-spacer" colspan="2">
		<hr size="1" />
	</td>
</tr>
<tr>
	<td class="nopad" valign="top" width="20%">
		<table class="hide" cellspacing="1">
		<tr>
			<td class="print">
				(0010514)
			</td>
		</tr>
		<tr>
			<td class="print">
				<a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a>&#160;&#160;&#160;
			</td>
		</tr>
		<tr>
			<td class="print">
				02-12-2011 12:41&#160;&#160;&#160;
							</td>
		</tr>
		</table>
	</td>
	<td class="nopad" valign="top" width="85%">
		<table class="hide" cellspacing="1">
		<tr>
			<td class="print">
				made ValueList TciValueList - no need to define an extra type<br />
<br />
renamed decodingHypothesis consistently into typeHypothesis<br />
<br />
some final editing			</td>
		</tr>
		</table>
	</td>
</tr>
<tr>
	<td class="print-spacer" colspan="2">
		<hr size="1" />
	</td>
</tr>
<tr>
	<td class="nopad" valign="top" width="20%">
		<table class="hide" cellspacing="1">
		<tr>
			<td class="print">
				(0010515)
			</td>
		</tr>
		<tr>
			<td class="print">
				<a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a>&#160;&#160;&#160;
			</td>
		</tr>
		<tr>
			<td class="print">
				02-12-2011 12:42&#160;&#160;&#160;
							</td>
		</tr>
		</table>
	</td>
	<td class="nopad" valign="top" width="85%">
		<table class="hide" cellspacing="1">
		<tr>
			<td class="print">
				Ready for final review - please check			</td>
		</tr>
		</table>
	</td>
</tr>
</table>
</body>
</html>
