Datareaderlistener

2 posts / 0 new
Last post
Offline
Last seen: 2 months 3 weeks ago
Joined: 02/25/2019
Posts: 13
Multiple datareaderlistener in different classes

I have a topic and there is a reader for this topic, reader is shared with two different classes , can i attach two datareaderlistener for this shared reader in respective classes and implement on_data_available in respective classes, so that logic and implementation according to that particular class is get executed. Code is developed in java. Can anyone suggest what should i do , when i need to read same topic data in two different class on_data_available. There is  a need for creating two different classes they are independently executed.

Organization:
Subscribe to RSS - Datareaderlistener