RTI Connext .Net APIs  Version 5.2.0
 All Classes Namespaces Functions Variables Enumerations Properties Groups Pages
DDS::DurabilityServiceQosPolicy Struct Reference

Various settings to configure the external RTI Persistence Service used by RTI Connext for DataWriters with a DDS::DurabilityQosPolicy setting of ::DDS::DurabilityQosPolicyKind::PERSISTENT_DURABILITY_QOS or ::DDS::DurabilityQosPolicyKind::TRANSIENT_DURABILITY_QOS. More...

#include <managed_infrastructure.h>

Static Public Member Functions

static System::String^ get_durabilityservice_qos_policy_name ()
 Stringified human-readable name for DDS::DurabilityServiceQosPolicy.
 

Public Attributes

Duration_t service_cleanup_delay
 Controls when the service is able to remove all information regarding a data instances.
 
HistoryQosPolicyKind history_kind
 The kind of history to apply in recouping durable data.
 
System::Int32 history_depth
 Part of history QoS policy to apply when feeding a late joiner.
 
System::Int32 max_samples
 Part of resource limits QoS policy to apply when feeding a late joiner.
 
System::Int32 max_instances
 Part of resource limits QoS policy to apply when feeding a late joiner.
 
System::Int32 max_samples_per_instance
 Part of resource limits QoS policy to apply when feeding a late joiner.
 

Detailed Description

Various settings to configure the external RTI Persistence Service used by RTI Connext for DataWriters with a DDS::DurabilityQosPolicy setting of ::DDS::DurabilityQosPolicyKind::PERSISTENT_DURABILITY_QOS or ::DDS::DurabilityQosPolicyKind::TRANSIENT_DURABILITY_QOS.

Entity:
DDS::Topic, DDS::DataWriter
Properties:
RxO = NO
Changeable = UNTIL ENABLE
See Also
DURABILITY
HISTORY
RESOURCE_LIMITS

Usage

When a DataWriter's DDS::DurabilityQosPolicy::kind is ::DDS::DurabilityQosPolicyKind::PERSISTENT_DURABILITY_QOS or ::DDS::DurabilityQosPolicyKind::TRANSIENT_DURABILITY_QOS, an external service, the RTI Persistence Service, is used to store and possibly forward the data sent by the DDS::DataWriter to DDS::DataReader objects that are created after the data was initially sent.

This QoS policy is used to configure certain parameters of the Persistence Service when it operates on the behalf of the DDS::DataWriter, such as how much data to store. For example, it configures the HISTORY and the RESOURCE_LIMITS used by the fictitious DataReader and DataWriter used by the Persistence Service. Note, however, that the Persistence Service itself may be configured to ignore these values and instead use values from its own configuration file.

Member Data Documentation

Duration_t DDS::DurabilityServiceQosPolicy::service_cleanup_delay

Controls when the service is able to remove all information regarding a data instances.

When the service cleanup delay is set to 0, disposed instances will be completely removed from the service. Only values of 0 and DDS::Duration_t::DURATION_INFINITE are currently supported.

[default] 0

HistoryQosPolicyKind DDS::DurabilityServiceQosPolicy::history_kind

The kind of history to apply in recouping durable data.

[default] ::DDS::HistoryQosPolicyKind::KEEP_LAST_HISTORY_QOS

System::Int32 DDS::DurabilityServiceQosPolicy::history_depth

Part of history QoS policy to apply when feeding a late joiner.

[default] 1

System::Int32 DDS::DurabilityServiceQosPolicy::max_samples

Part of resource limits QoS policy to apply when feeding a late joiner.

[default] DDS::ResourceLimitsQosPolicy::LENGTH_UNLIMITED

System::Int32 DDS::DurabilityServiceQosPolicy::max_instances

Part of resource limits QoS policy to apply when feeding a late joiner.

[default] DDS::ResourceLimitsQosPolicy::LENGTH_UNLIMITED

System::Int32 DDS::DurabilityServiceQosPolicy::max_samples_per_instance

Part of resource limits QoS policy to apply when feeding a late joiner.

[default] DDS::ResourceLimitsQosPolicy::LENGTH_UNLIMITED


RTI Connext .Net APIs Version 5.2.0 Copyright © Sun Jun 21 2015 Real-Time Innovations, Inc