gama-platform / gama.experimental

Home of experimental plugins for GAMA
13 stars 6 forks source link

Migration of Remote.gui plugin to GAMA 2024-06 may have broken communication #40

Open benoitgaudou opened 6 months ago

benoitgaudou commented 6 months ago

I just migrated the remote.gui plugin to the branch 2024-06. I made it compiles. Nevertheless, it is built on MQTT communication, that uses an XStream serialisation. With the new serialisation in GAMA, Xstream is not avilable anymore. I replace the code of the 2 methods serializing and unserializing data using the current serialization mecanism, using a binary (un)serialising.

I have not tested, but I have the feeling that this will make the communication more complex with external software. Maybe switch to a JSON serializing ?

AlexisDrogoul commented 6 months ago

JSON would be preferable -- maybe the option to choose from binary to json should be included in the different protocols / messaging capabilities ?