blob: a060ec82154a7696fedd8b3fe5eb8c595c46a892 [file] [log] [blame]
<?xml version="1.0" encoding="iso-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd-->
<html xmlns="http://www.w3.org/1999/xhtml"
>
<head><title>Dynamic Actors 9</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="generator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" />
<meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" />
<!-- xhtml,3,next,html -->
<meta name="src" content="etrice-doc.tex" />
<meta name="date" content="2014-03-31 09:04:00" />
<link rel="stylesheet" type="text/css" href="etrice-doc.css" />
</head><body
>
<!--l. 321--><div class="crosslinks"><p class="noindent">[<a
href="etrice-docch4.html" >next</a>] [<a
href="etrice-docse17.html" >prev</a>] [<a
href="etrice-docse17.html#tailetrice-docse17.html" >prev-tail</a>] [<a
href="#tailetrice-docse18.html">tail</a>] [<a
href="etrice-docch3.html#etrice-docse18.html" >up</a>] </p></div>
<h3 class="sectionHead"><span class="titlemark">3.9 </span> <a
id="x23-1030003.9"></a>Dynamic Actors 9</h3>
<!--l. 323--><p class="noindent" >This example is contained in <span
class="ec-lmtt-10">org.eclipse.etrice.examples.dynamicactors9</span>.
</p><!--l. 325--><p class="noindent" >
</p>
<h4 class="subsectionHead"><span class="titlemark">3.9.1 </span> <a
id="x23-1040003.9.1"></a>Purpose</h4>
<!--l. 327--><p class="noindent" >The example demonstrates the use of SAPs in dynamic actors.
</p><!--l. 329--><p class="noindent" >
</p>
<h4 class="subsectionHead"><span class="titlemark">3.9.2 </span> <a
id="x23-1050003.9.2"></a>Details</h4>
<!--l. 331--><p class="noindent" >This simple example re-uses the PingPong tutorial. The static part of the system introduces a <span
class="ec-lmtt-10">TimingService </span>as SPP and
the <span
class="ec-lmtt-10">Receiver </span>embedded in the optional part uses a SAP of this protocol.
</p><!--l. 334--><p class="noindent" >The sub system during initialization adds broker ports to the optional actor interface that are connected to all available
services.
</p><!--l. 337--><p class="noindent" >On the other hand the factory for the optional actor maps SAPs to those broker ports.
</p><!--l. 339--><p class="noindent" >
</p>
<h4 class="subsectionHead"><span class="titlemark">3.9.3 </span> <a
id="x23-1060003.9.3"></a>Noteworthy</h4>
<ul class="itemize1">
<li class="itemize"><span
class="ec-lmsso-10">Caution: </span>currently the generator informs about unsatisfied services in dynamic actors. But it is still possible to
create such an instance. The consequence is an unbound SAP</li></ul>
<!--l. 1--><div class="crosslinks"><p class="noindent">[<a
href="etrice-docch4.html" >next</a>] [<a
href="etrice-docse17.html" >prev</a>] [<a
href="etrice-docse17.html#tailetrice-docse17.html" >prev-tail</a>] [<a
href="etrice-docse18.html" >front</a>] [<a
href="etrice-docch3.html#etrice-docse18.html" >up</a>] </p></div>
<!--l. 1--><p class="noindent" ><a
id="tailetrice-docse18.html"></a> </p>
</body></html>