network disconnect/reconnect

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

Hi, 

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