RTI Connext DDS Micro C API
Version 4.0.1
|
Attaches a buffer of opaque data to a DDS_Topic which is distributed to other applications as part of the discovery process. More...
#include <dds_c_user_data_qos.h>
Data Fields | |
struct DDS_OctetSeq | value |
The opaque data to be attached to the DDS_Entity. |
Attaches a buffer of opaque data to a DDS_Topic which is distributed to other applications as part of the discovery process.
The TOPIC_DATA QoS policy allows an application to attach additional information to DDS_Topic objects so that when a remote application discovers them, it can access that information and use it for its own purposes. This information is not interpreted by RTI Connext DDS Micro. Use cases are usually application-to-application identification, authentication, authorization, and encryption.
The topic data for a remote entity is received through the discovery process. The received topic data can be accessed through the functions for accessing the discovered entity data: DDS_DataWriter_get_matched_subscription_data and DDS_DataReader_get_matched_publication_data.
Important: RTI Connext DDS Micro stores the data placed in this policy in pre-allocated pools. You must configure RTI Connext DDS Micro with the maximum size and number of the data sequences that will be stored in policies of this type. These settings are configured in the DDS_DomainParticipantResourceLimitsQosPolicy.
struct DDS_OctetSeq DDS_TopicDataQosPolicy::value |
The opaque data to be attached to the DDS_Entity.
[default] empty (zero length)