apigear-io / cli

The ApiGear client as go project
https://apigear.io
MIT License
1 stars 2 forks source link

check if studio auto-link to generic simu olink-source #47

Open jryannel opened 1 year ago

jryannel commented 1 year ago

If a simulation is stopped and then started again a new init message shall be send to the connected client. This is to ensure the client always have a defined state. The client can not know when a simulation has been stopped (we would need to send an unlink message)

jryannel commented 1 year ago

See also #48

This is a general specification addition: On a re-connection service shall send an init message. The other option would be to add a fetch-state (or fetch-properties) message which allows clients to fetch all properties at any time from the service (e.g. 1st connect or re-connect). This would simplify the service implementation and provide more control to clients.