diff options
Diffstat (limited to 'plugins/org.eclipse.etrice.doc/doc-tex/eTriceHTML/etrice-docse23.html')
-rw-r--r-- | plugins/org.eclipse.etrice.doc/doc-tex/eTriceHTML/etrice-docse23.html | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/plugins/org.eclipse.etrice.doc/doc-tex/eTriceHTML/etrice-docse23.html b/plugins/org.eclipse.etrice.doc/doc-tex/eTriceHTML/etrice-docse23.html new file mode 100644 index 000000000..a9b0544d3 --- /dev/null +++ b/plugins/org.eclipse.etrice.doc/doc-tex/eTriceHTML/etrice-docse23.html @@ -0,0 +1,54 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" + "http://www.w3.org/TR/html4/loose.dtd"> +<html > +<head><title>Create a new protocol</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/)"> +<!-- html,3,next --> +<meta name="src" content="etrice-doc.tex"> +<meta name="date" content="2013-02-26 19:42:00"> +<link rel="stylesheet" type="text/css" href="etrice-doc.css"> +</head><body +> +<!--l. 61--><div class="crosslinks"><p class="noindent">[<a +href="etrice-docse24.html" >next</a>] [<a +href="etrice-docse22.html" >prev</a>] [<a +href="etrice-docse22.html#tailetrice-docse22.html" >prev-tail</a>] [<a +href="#tailetrice-docse23.html">tail</a>] [<a +href="etrice-docch7.html#etrice-docse23.html" >up</a>] </p></div> +<h3 class="sectionHead"><span class="titlemark">7.4 </span> <a + id="x32-460007.4"></a>Create a new protocol</h3> +<!--l. 63--><p class="noindent" >With the help of <span +class="ecti-1000">Content Assist </span>create a <span +class="ecti-1000">ProtocolClass </span>and name it <span +class="ecti-1000">PingPongProtocol</span>. +Create the following messages: + + + +<div class="verbatim" id="verbatim-12"> +ProtocolClass PingPongProtocol { + <br />    incoming { + <br />        Message ping(data: DemoData) + <br />        Message pingSimple(data:int32) + <br />    } + <br />    outgoing { + <br />        Message pong(data: DemoData) + <br />        Message pongSimple(data:int32) + <br />    } + <br />} +</div> +<!--l. 76--><p class="nopar" > + + + +<!--l. 78--><div class="crosslinks"><p class="noindent">[<a +href="etrice-docse24.html" >next</a>] [<a +href="etrice-docse22.html" >prev</a>] [<a +href="etrice-docse22.html#tailetrice-docse22.html" >prev-tail</a>] [<a +href="etrice-docse23.html" >front</a>] [<a +href="etrice-docch7.html#etrice-docse23.html" >up</a>] </p></div> +<!--l. 78--><p class="noindent" ><a + id="tailetrice-docse23.html"></a> +</body></html> |