Closed seanshahkarami closed 7 years ago
An ack mechanism kind of exists in the client-to-driver piece in that a random correlation id is generated and sent along with a message. The client only accepts the output if that correlation id shows up in a response message, otherwise it times out.
Finally, wagman itself indicates whether of command was actually a valid command or not.
We can still revisit the issue later, but I think in light of these three things, there's already quite a bit of acknowledgement built-in. One are to improve is providing a more uniform and thorough indication of errors, though. Currently this is handled by printing ad-hoc error messages or timing out.
After revisiting this, I remembered that in the driver-to-wagman part of the communications, I'd designed a message delimiting structure for message exchange.
This already adds an acknowledgement for this piece of the pipeline.