OpenSplice Java 5 DCPS  v6.x
OpenSplice Java 5 OpenSplice Data Distribution Service Data-Centric Publish-Subscribe API
org.opensplice.dds.core.policy.ReaderDataLifecycle.Kind Enum Reference

Instance state changes are communicated to a org.omg.dds.sub.DataReader by means of the sample info accompanying a org.omg.dds.sub.Sample. More...

Collaboration diagram for org.opensplice.dds.core.policy.ReaderDataLifecycle.Kind:
Collaboration graph

Public Attributes

 ALL
 
 MINIMUM
 
 NONE
 

Detailed Description

Instance state changes are communicated to a org.omg.dds.sub.DataReader by means of the sample info accompanying a org.omg.dds.sub.Sample.

If no samples are available in the DataReader, a so-called 'invalid sample' can be injected with the sole purpose of notifying applications of the instance state.

ReaderDataLifecycle.Kind drives the behavior of the middleware concerning these invalid samples.

  • NONE - applications will be notified of InstanceState changes only if there is a sample available in the DataReader. The SampleInfo belonging to this sample will contain the updated instance state.
  • MINIMUM - the middleware will try to update the org.omg.dds.sub.InstanceState on available samples in the DataReader. If no sample is available, an invalid sample will be injected. These samples contain only the key values of the instance. The SampleInfo for invalid samples will only have a key value (available through org.opensplice.dds.sub.Sample#getKeyValue()), and contain the updated org.omg.dds.sub.InstanceState. This is the default value.
  • ALL - every change in the org.omg.dds.sub.InstanceStatewill be communicated by a separate invalid sample. Invalid samples are always visible, every time the of an instance changes. This last option has not been implemented yet.

Definition at line 58 of file ReaderDataLifecycle.java.

Member Data Documentation

◆ ALL

org.opensplice.dds.core.policy.ReaderDataLifecycle.Kind.ALL

Definition at line 59 of file ReaderDataLifecycle.java.

◆ MINIMUM

org.opensplice.dds.core.policy.ReaderDataLifecycle.Kind.MINIMUM

Definition at line 59 of file ReaderDataLifecycle.java.

◆ NONE

org.opensplice.dds.core.policy.ReaderDataLifecycle.Kind.NONE

Definition at line 59 of file ReaderDataLifecycle.java.


The documentation for this enum was generated from the following file: