Skip to content

Commit

Permalink
Merge pull request #40 from wonsuk73/wonsuk-2025-1
Browse files Browse the repository at this point in the history
Revised texts for Transport Protocol Realizations part
  • Loading branch information
UlfBj authored Jan 14, 2025
2 parents 5b41ae7 + 0f11dda commit 12ca733
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions spec/VISSv3.0_PayloadEncoding.html
Original file line number Diff line number Diff line change
Expand Up @@ -183,18 +183,27 @@ <h2>Protobuf Schema Definition</h2>
between the JSON format and the protobuf format.
The protobuf source code below also contains a "service" clause that the protoc compiler uses to create a gRPC based communication framework.
</p>
<pre><code>
<embed type="text/protobuf" src="resources/vissv3.0.proto" width="700" height="500">
</code></pre>

<figure>
<pre><code>
<embed type="text/protobuf" src="resources/vissv3.0.proto" width="800" height="500">
</code></pre>
<figcaption><span class="fig-title">Protobuf schema file for VISS version 3.0</span></figcaption>
</figure>

</section>

<section id="transport-protocol-realizations">
<h2>Transport Protocol Realizations</h2>
<p> This part outlines how Protobuf encoding is realized across various transport protocols, including gRPC, WebSocket, and MQTT.
</p>

<section id="grpc-realization">
<h2>gRPC Realization</h2>
<p>
The "service" clause in the protobuf code in the previous chapter is used by the protoc compiler uses to create a gRPC based communication framework.
The 'service' clause in the Protobuf schema is used by the Protobuf compiler(protoc) to automatically generate code for gRPC-based communication.
This code simplifies the implementation of server and client interactions by handling the details of network communication, allowing developers
to focus on the application logic.
</p>
</section>

Expand Down Expand Up @@ -241,6 +250,5 @@ <h2>JSON schema based encoding</h2>

</section>

<div id="tof" class="appendix"></div>
</body>
</html>

0 comments on commit 12ca733

Please sign in to comment.