OpenSplice Java 5 DCPS  v6.x
OpenSplice Java 5 OpenSplice Data Distribution Service Data-Centric Publish-Subscribe API
org.omg.dds.core.policy.Ownership.Kind Enum Reference
Collaboration diagram for org.omg.dds.core.policy.Ownership.Kind:
Collaboration graph

Public Attributes

 EXCLUSIVE
 Indicates each instance can only be owned by one org.omg.dds.pub.DataWriter, but the owner of an instance can change dynamically. More...
 
 SHARED
 Indicates shared ownership for each instance. More...
 

Detailed Description

Definition at line 102 of file Ownership.java.

Member Data Documentation

◆ EXCLUSIVE

org.omg.dds.core.policy.Ownership.Kind.EXCLUSIVE

Indicates each instance can only be owned by one org.omg.dds.pub.DataWriter, but the owner of an instance can change dynamically.

The selection of the owner is controlled by the setting of the org.omg.dds.core.policy.OwnershipStrength. The owner is always set to be the highest-strength DataWriter object among the ones currently "active" (as determined by the org.omg.dds.core.policy.Liveliness).

Definition at line 120 of file Ownership.java.

◆ SHARED

org.omg.dds.core.policy.Ownership.Kind.SHARED

Indicates shared ownership for each instance.

Multiple writers are allowed to update the same instance and all the updates are made available to the readers. In other words there is no concept of an "owner" for the instances. This is the default behavior.

Definition at line 109 of file Ownership.java.


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