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

Public Member Functions

 TopicDataImpl (OsplServiceEnvironment environment)
 
 TopicDataImpl (OsplServiceEnvironment environment, byte[] value)
 
boolean equals (Object other)
 
ServiceEnvironment getEnvironment ()
 
Class<? extends QosPolicygetPolicyClass ()
 
byte [] getValue ()
 Get a copy of the data. More...
 
int hashCode ()
 
TopicData withValue (byte[] value, int offset, int length)
 
TopicData withValue (byte value[], int offset, int length)
 Copy this policy and override the value of the property. More...
 

Protected Attributes

OsplServiceEnvironment environment
 

Detailed Description

Definition at line 29 of file TopicDataImpl.java.

Constructor & Destructor Documentation

◆ TopicDataImpl() [1/2]

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

Definition at line 33 of file TopicDataImpl.java.

◆ TopicDataImpl() [2/2]

org.opensplice.dds.core.policy.TopicDataImpl.TopicDataImpl ( OsplServiceEnvironment  environment,
byte []  value 
)

Definition at line 38 of file TopicDataImpl.java.

Member Function Documentation

◆ equals()

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

Definition at line 64 of file TopicDataImpl.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.

◆ getPolicyClass()

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

Definition at line 59 of file TopicDataImpl.java.

◆ getValue()

byte [] org.opensplice.dds.core.policy.TopicDataImpl.getValue ( )

Get a copy of the data.

Implements org.omg.dds.core.policy.TopicData.

Definition at line 49 of file TopicDataImpl.java.

◆ hashCode()

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

Definition at line 72 of file TopicDataImpl.java.

◆ withValue() [1/2]

TopicData org.opensplice.dds.core.policy.TopicDataImpl.withValue ( byte []  value,
int  offset,
int  length 
)

Definition at line 54 of file TopicDataImpl.java.

◆ withValue() [2/2]

TopicData org.omg.dds.core.policy.TopicData.withValue ( byte  value[],
int  offset,
int  length 
)
inherited

Copy this policy and override the value of the property.

Parameters
valueA sequence of bytes that holds the application topic data. By default, the sequence has length 0.
offsetNot used can have any int value.
lengthNot used can have any int value.
Returns
a new policy

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: