Jump to content
OpenSplice DDS Forum
adosreis

Deadline QOS by Individual Topic Instance

Recommended Posts

I am interested in using the Deadling QOS on the Data Reader side to alert me when a specific topic instance violates the deadline contract. I have been able to get a listener working with a deadline qos, and am correctly alerted when a deadline is missed. However, I am unable to determine which instance violated the contract.

 

Does OpenSplice have a method to do this? Or does anyone know a way around it?

 

Alternatively, is there a way to set the Data Writer to change the InstanceStateKind from ALIVE_INSTANCE_STATE to NOT_ALIVE_NO_WRITERS_INSTANCE_STATE when the Deadline contract is violated? I was hoping to use virtual void on_requested_deadline_missed(DDS::DataReader_ptr reader, const DDS::RequestedDeadlineMissedStatus &status); in order to change the value of that field, but am not sure how to do so if I do not receive a handle to the specific instance.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×