Click or drag to resize

DeadlineQosPolicy Class

This policy is useful for cases where a Topic is expected to have each instance updated periodically. On the publishing side this setting establishes a contract that the application must meet. On the subscribing side the setting establishes a minimum requirement for the remote publishers that are expected to supply the data values.
Inheritance Hierarchy
SystemObject
  OpenDDSharp.DDSDeadlineQosPolicy

Namespace:  OpenDDSharp.DDS
Assembly:  OpenDDSharp (in OpenDDSharp.dll) Version: 0.4.1.0
Syntax
public class DeadlineQosPolicy

The DeadlineQosPolicy type exposes the following members.

Properties
  NameDescription
Public propertyPeriod
Duration of the deadline period. The default value of the period member is infinite, which requires no behavior.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

When the DDS 'matches' a DataWriter and a DataReader it checks whether the settings are compatible (i.e., offered deadline period <= requested deadline period) if they are not, the two entities are informed (via the listener or condition mechanism) of the incompatibility of the QoS settings and communication will not occur.

Assuming that the reader and writer ends have compatible settings, the fulfillment of this contract is monitored by DDS and the application is informed of any violations by means of the proper listener or condition.

The value offered is considered compatible with the value requested if and only if the inequality "offered deadline period <= requested deadline period" evaluates to 'true'.

The setting of the Deadline policy must be set consistently with that of the TimeBasedFilter. For these two policies to be consistent the settings must be such that "deadline period >= minimum separation".

See Also