RTI Connext C API Version 7.4.0
DDS_GroupDataQosPolicy Struct Reference

Attaches a buffer of opaque data that is distributed by means of Built-in Topics during discovery. More...

Data Fields

struct DDS_OctetSeq value
 <<spec>> a sequence of octets More...
 

Detailed Description

Attaches a buffer of opaque data that is distributed by means of Built-in Topics during discovery.

Entity:
DDS_Publisher, DDS_Subscriber
Properties:
RxO = NO
Changeable = YES
See also
DDS_DomainParticipant_get_builtin_subscriber

Usage

The additional information is attached to a DDS_Publisher or DDS_Subscriber. This extra data is not used by RTI Connext itself. When a remote application discovers the DDS_Publisher or DDS_Subscriber, it can access that information and use it for its own purposes.

Use cases for this QoS policy, as well as the DDS_TopicDataQosPolicy and DDS_UserDataQosPolicy, are often application-to-application identification, authentication, authorization, and encryption purposes. For example, applications can use Group or User Data to send security certificates to each other for RSA-type security.

In combination with DDS_DataReaderListener, DDS_DataWriterListener and operations such as DDS_DomainParticipant_ignore_publication and DDS_DomainParticipant_ignore_subscription, this QoS policy can help an application to define and enforce its own security policies. For example, an application can implement matching policies similar to those of the DDS_PartitionQosPolicy, except the decision can be made based on an application-defined policy.

The use of this QoS is not limited to security; it offers a simple, yet flexible extensibility mechanism.

Important: RTI Connext stores the data placed in this policy in pre-allocated pools. It is therefore necessary to configure RTI Connext with the maximum size of the data that will be stored in policies of this type. This size is configured with DDS_DomainParticipantResourceLimitsQosPolicy::publisher_group_data_max_length and DDS_DomainParticipantResourceLimitsQosPolicy::subscriber_group_data_max_length.

Field Documentation

◆ value

struct DDS_OctetSeq DDS_GroupDataQosPolicy::value

<<spec>> a sequence of octets

[default] Empty (zero-sized)

[range] Octet sequence of length [0,max_length]

Categories
Mutable, Application-Defined Metadata, Discovery Metadata