RTI Connext Java API Version 7.2.0
InstanceStateConsistencyKind Class Reference

<<extension>> Whether instance state consistency is enabled. More...

Inheritance diagram for InstanceStateConsistencyKind:
Enum Copyable

Static Public Attributes

static final InstanceStateConsistencyKind NO_RECOVER_INSTANCE_STATE_CONSISTENCY
 Instance state is not restored on a DataReader after reconnecting with a DataWriter until the DataWriter sends a new sample. More...
 
static final InstanceStateConsistencyKind RECOVER_INSTANCE_STATE_CONSISTENCY
 Instance state is restored on the DataReader after it reconnects with a DataWriter that has regained liveliness, even before the DataWriter sends a new sample. More...
 

Additional Inherited Members

- Public Member Functions inherited from Enum
final int ordinal ()
 The integral value of this enumerated constant. More...
 
Object copy_from (Object src)
 
final String name ()
 The name of this enum constant, as declared in the enum declaration. More...
 
final String toString ()
 The string value of this enum constant. More...
 
Object copy_from (Object src)
 Copy value of a data type from source. More...
 
- Protected Member Functions inherited from Enum
 Enum (String name, int ordinal)
 The constructor. More...
 
final Object clone () throws CloneNotSupportedException
 

Detailed Description

<<extension>> Whether instance state consistency is enabled.

QoS:
com.rti.dds.infrastructure.ReliabilityQosPolicy

Member Data Documentation

◆ NO_RECOVER_INSTANCE_STATE_CONSISTENCY

final InstanceStateConsistencyKind NO_RECOVER_INSTANCE_STATE_CONSISTENCY
static

Instance state is not restored on a DataReader after reconnecting with a DataWriter until the DataWriter sends a new sample.

When DataReaders rediscover DataWriters, they will not request updated instance state data. DataWriters always provide instance state data alongside each sample update regardless of this setting.

◆ RECOVER_INSTANCE_STATE_CONSISTENCY

final InstanceStateConsistencyKind RECOVER_INSTANCE_STATE_CONSISTENCY
static

Instance state is restored on the DataReader after it reconnects with a DataWriter that has regained liveliness, even before the DataWriter sends a new sample.

When DataReaders rediscover DataWriters, they will request updated instance state data. DataWriters will respond to requests for updated instance state data and publish updates on the ServiceRequest channel. DataWriters still provide instance state data alongside each sample update regardless of this setting.