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

Public Member Functions

 SubscriptionKeysImpl (OsplServiceEnvironment environment, String... keyValue)
 
 SubscriptionKeysImpl (OsplServiceEnvironment environment, Collection< String > keyValue)
 
boolean equals (Object other)
 
ServiceEnvironment getEnvironment ()
 
Set< String > getKey ()
 
Class<? extends QosPolicygetPolicyClass ()
 
int hashCode ()
 
SubscriptionKeys withKey (Collection< String > keyList)
 Copy this policy and override the value of the property. More...
 
SubscriptionKeys withKey (String keyList)
 Copy this policy and override the value of the property. More...
 
SubscriptionKeys withKey (String... keyList)
 Copy this policy and override the value of the property. More...
 

Protected Attributes

OsplServiceEnvironment environment
 

Detailed Description

Definition at line 31 of file SubscriptionKeysImpl.java.

Constructor & Destructor Documentation

◆ SubscriptionKeysImpl() [1/2]

org.opensplice.dds.core.policy.SubscriptionKeysImpl.SubscriptionKeysImpl ( OsplServiceEnvironment  environment,
String...  keyValue 
)

Definition at line 36 of file SubscriptionKeysImpl.java.

◆ SubscriptionKeysImpl() [2/2]

org.opensplice.dds.core.policy.SubscriptionKeysImpl.SubscriptionKeysImpl ( OsplServiceEnvironment  environment,
Collection< String >  keyValue 
)

Definition at line 46 of file SubscriptionKeysImpl.java.

Member Function Documentation

◆ equals()

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

Definition at line 85 of file SubscriptionKeysImpl.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.

◆ getKey()

Set<String> org.opensplice.dds.core.policy.SubscriptionKeysImpl.getKey ( )
Returns
an unmodifiable collection of subscription keys.

Implements org.opensplice.dds.core.policy.SubscriptionKeys.

Definition at line 60 of file SubscriptionKeysImpl.java.

◆ getPolicyClass()

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

Definition at line 80 of file SubscriptionKeysImpl.java.

◆ hashCode()

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

Definition at line 98 of file SubscriptionKeysImpl.java.

◆ withKey() [1/3]

SubscriptionKeys org.opensplice.dds.core.policy.SubscriptionKeysImpl.withKey ( Collection< String >  keyList)

Copy this policy and override the value of the property.

Parameters
keyListA collection of strings with one or more names of topic fields acting as alternative keys.
Returns
a new SubscriptionKeys policy

Implements org.opensplice.dds.core.policy.SubscriptionKeys.

Definition at line 65 of file SubscriptionKeysImpl.java.

◆ withKey() [2/3]

SubscriptionKeys org.opensplice.dds.core.policy.SubscriptionKeysImpl.withKey ( String  keyList)

Copy this policy and override the value of the property.

Parameters
keyListA strings with one name of topic fields acting as alternative key.
Returns
a new SubscriptionKeys policy

Implements org.opensplice.dds.core.policy.SubscriptionKeys.

Definition at line 70 of file SubscriptionKeysImpl.java.

◆ withKey() [3/3]

SubscriptionKeys org.opensplice.dds.core.policy.SubscriptionKeysImpl.withKey ( String...  keyList)

Copy this policy and override the value of the property.

Parameters
keyListAn arbitrary number of strings with one or more names of topic fields acting as alternative keys.
Returns
a new SubscriptionKeys policy

Implements org.opensplice.dds.core.policy.SubscriptionKeys.

Definition at line 75 of file SubscriptionKeysImpl.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: