Which instance missed its deadline PreviousNext
Data Distribution Service (DDS) Forum > DDS Technical Forum >
Message/Author
Next message Raghid Kawash  posted on Tuesday, March 18, 2008 - 06:34 pm
Hi everyone,

I trying to figure out which instance in a topic missed its deadline.

Given a system with topic t and intances t1 and t2, where DeadlineQosPolicy is configured and the subscriber has Registered the REQUESTED_DEADLINE_MISSED_STATUS and implemented the on_requested_deadline_missed method.

In my current implementation whenever I get notified on a missed deadline(at the subscriber and publisher ends), the last_instance_handle is always 0, no matter which instance (t1 or t1) in topic t missed its deadline.

Am I using the last_intance_handle in a wrong way?
Is their something I have to do before the last_instance_handle can be used to detect which instance(t1 or t2) in topic t triggered the on_requested_deadline_missed method?

Regards,
Raghid Kawash
Next message Erik Hendriks  posted on Monday, March 31, 2008 - 01:50 pm
Hi Raghid,

You do not use the deadline mechanism in a wrong way: the last_instance_handle parameter is meant to do exactly what you want it to: identifying the instance for which the deadline has been missed. Probably you encountered an omission in the product you are using. Please contact the support office of your DDS vendor for the details of the issue and for potential fixes.

Regards,
Erik.
Back to top
Add Your Message Here
Post:
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Post as "Anonymous"
Enable HTML code in message
Automatically activate URLs in message
Action: