network disconnect/reconnect

2 posts / 0 new
Last post
Last seen: 5 years 7 months ago
Joined: 11/19/2016
Posts: 1
How to get all instance handles to the remote writer that changed liveliness?


I have a problem when using livelinessChangedStatus structure. In my project, I have one dataReader that listens to a topic which several dataWriters are publishing on. Every time when one or several dataWriters come offline/online due to network disconnect/reconnect, the function on_liveliness_changed(.....) is called, and I get a LivelinessChangedStatus struct. However, this struct only tells me the instance handle to the last remote writer that changed its liveliness, and this causes me a problem when several writers changed their liveliness at the same time.

Subscribe to RSS - network disconnect/reconnect