RTI Connext Java API  Version 5.0.0
OwnershipQosPolicyKind Class Reference

Kinds of ownership. More...

Inheritance diagram for OwnershipQosPolicyKind:
Enum Copyable

Static Public Attributes

static final OwnershipQosPolicyKind SHARED_OWNERSHIP_QOS
 [default] Indicates shared ownership for each instance.
 
static final OwnershipQosPolicyKind EXCLUSIVE_OWNERSHIP_QOS
 Indicates each instance can only be owned by one com.rti.dds.publication.DataWriter, but the owner of an instance can change dynamically.
 

Additional Inherited Members

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

Detailed Description

Member Data Documentation

final OwnershipQosPolicyKind SHARED_OWNERSHIP_QOS
static

[default] 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 if the OWNERSHIP policy is not specified or supported.

final OwnershipQosPolicyKind EXCLUSIVE_OWNERSHIP_QOS
static

Indicates each instance can only be owned by one com.rti.dds.publication.DataWriter, but the owner of an instance can change dynamically.

The selection of the owner is controlled by the setting of the OWNERSHIP_STRENGTH policy. The owner is always set to be the highest-strength com.rti.dds.publication.DataWriter object among the ones currently active (as determined by the LIVELINESS).


RTI Connext Java API Version 5.0.0 Copyright © Thu Aug 30 2012 Real-Time Innovations, Inc