models.txt 802 B

123456789101112131415161718192021
  1. Network interface
  2. =================
  3. The network communication in the Modelverse builds on top of the raw socket implementation of Python.
  4. Whereas we use normal HTTP requests, we explicitly opted not to use these libraries.
  5. Many of these libraries hide important implementation details, such as how successive requests are handled (sequential, threaded, ...), whether or not to keep connections open and reuse them, which HTTP version to implement, and so on.
  6. As the HTTP protocol is a simple protocol, we reimplemented it completely in SCCD (StateCharts and Class Diagrams).
  7. There are two network components: a server in the MvS, and a server and client in the MvK.
  8. These are discussed next.
  9. MvS server
  10. ----------
  11. .. image:: img/mvs_server.svg
  12. MvK server
  13. ----------
  14. .. image:: img/mvk_server.svg