Hi,
Will the ReturnCode_t from writing with asynchronous publisher always returns a value of 0 (DDS_RETCODE_OK) due to the asynchronous writing?
If that is the case, what other kind of indication can I get in order to infer if the operation was performed without any errors?
Best regards,
GS
Hi GS,
Thanks you for your question.
When you use asynchronous publisher, the call to "write" function will return the same set of error as using synchronous publisher.
For example, you could get an error if the queue of sample is full and the indicated timeout expired before it was possible to find an available space in the queue for such sample.
These error are returned by the "write" call.
I hope this helps.
Sebas