OpenSplice Java 5 DCPS  v6.x
OpenSplice Java 5 OpenSplice Data Distribution Service Data-Centric Publish-Subscribe API
org.opensplice.dds.core.policy.OwnershipImpl Class Reference
Inheritance diagram for org.opensplice.dds.core.policy.OwnershipImpl:
Inheritance graph
Collaboration diagram for org.opensplice.dds.core.policy.OwnershipImpl:
Collaboration graph

Public Member Functions

 OwnershipImpl (OsplServiceEnvironment environment)
 
 OwnershipImpl (OsplServiceEnvironment environment, Kind kind)
 
int compareTo (Ownership o)
 
boolean equals (Object other)
 
ServiceEnvironment getEnvironment ()
 
Kind getKind ()
 
Class<? extends QosPolicygetPolicyClass ()
 
int hashCode ()
 
Comparable< OwnershiprequestedOfferedContract ()
 
Ownership withExclusive ()
 
Ownership withKind (Kind kind)
 Copy this policy and override the value of the property. More...
 
Ownership withShared ()
 

Protected Attributes

OsplServiceEnvironment environment
 

Detailed Description

Definition at line 28 of file OwnershipImpl.java.

Constructor & Destructor Documentation

◆ OwnershipImpl() [1/2]

org.opensplice.dds.core.policy.OwnershipImpl.OwnershipImpl ( OsplServiceEnvironment  environment)

Definition at line 32 of file OwnershipImpl.java.

◆ OwnershipImpl() [2/2]

org.opensplice.dds.core.policy.OwnershipImpl.OwnershipImpl ( OsplServiceEnvironment  environment,
Kind  kind 
)

Definition at line 37 of file OwnershipImpl.java.

Member Function Documentation

◆ compareTo()

int org.opensplice.dds.core.policy.OwnershipImpl.compareTo ( Ownership  o)

Definition at line 53 of file OwnershipImpl.java.

◆ equals()

boolean org.opensplice.dds.core.policy.OwnershipImpl.equals ( Object  other)

Definition at line 63 of file OwnershipImpl.java.

◆ getEnvironment()

ServiceEnvironment org.opensplice.dds.core.policy.QosPolicyImpl.getEnvironment ( )
inherited
Returns
the org.omg.dds.core.ServiceEnvironment object that directly or indirectly was used to create this object.

Implements org.omg.dds.core.DDSObject.

Definition at line 40 of file QosPolicyImpl.java.

◆ getKind()

Kind org.opensplice.dds.core.policy.OwnershipImpl.getKind ( )
Returns
the kind

Implements org.omg.dds.core.policy.Ownership.

Definition at line 71 of file OwnershipImpl.java.

◆ getPolicyClass()

Class<? extends QosPolicy> org.opensplice.dds.core.policy.OwnershipImpl.getPolicyClass ( )

Definition at line 91 of file OwnershipImpl.java.

◆ hashCode()

int org.opensplice.dds.core.policy.OwnershipImpl.hashCode ( )

Definition at line 96 of file OwnershipImpl.java.

◆ requestedOfferedContract()

Comparable<Ownership> org.opensplice.dds.core.policy.OwnershipImpl.requestedOfferedContract ( )

Definition at line 48 of file OwnershipImpl.java.

◆ withExclusive()

Ownership org.opensplice.dds.core.policy.OwnershipImpl.withExclusive ( )
Returns
exclusive Ownership policy

Implements org.omg.dds.core.policy.Ownership.

Definition at line 86 of file OwnershipImpl.java.

◆ withKind()

Ownership org.opensplice.dds.core.policy.OwnershipImpl.withKind ( Kind  kind)

Copy this policy and override the value of the property.

Parameters
kindSpecifies whether a DataWriter exclusively owns an instance.
Returns
a new Ownership policy

Implements org.omg.dds.core.policy.Ownership.

Definition at line 76 of file OwnershipImpl.java.

◆ withShared()

Ownership org.opensplice.dds.core.policy.OwnershipImpl.withShared ( )
Returns
shared Ownership policy

Implements org.omg.dds.core.policy.Ownership.

Definition at line 81 of file OwnershipImpl.java.

Member Data Documentation

◆ environment

OsplServiceEnvironment org.opensplice.dds.core.policy.QosPolicyImpl.environment
protectedinherited

Definition at line 29 of file QosPolicyImpl.java.


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