Hey all
Does DDS have the possibility to notify a Data Writer or a Data Reader when the discovery process has finished between them. I know that I can use the DataWriterListerner and the DataReaderListener "on_subscription_matched()" and "on_publication_matched()", but is there another way to figure out that the discovery process has finished between them or is this the only way?
Thank you!
Best regards,
Andrei
Hey Andrei,
Using an entity listener would be the way to be notified, you can also use (i think) waitsets to achieve a similar result.
Another option is to poll for the publication_matched_status (or subscription_matched_status) of the relevant reader/writer.
What problem do you have with using the listeners?
Roy.