public interface UserData extends QosPolicy.ForDomainParticipant, QosPolicy.ForDataReader, QosPolicy.ForDataWriter
DomainParticipant
, DataReader
,
DataWriter
RxO: No
Changeable: Yes
The purpose of this QoS is to allow the application to attach additional
information to the created Entity
objects such that when a remote
application discovers their existence it can access that information and
use it for its own purposes. One possible use of this QoS is to attach
security credentials or some other information that can be used by the
remote application to authenticate the source. In combination with
operations such as
DomainParticipant.ignoreParticipant(org.omg.dds.core.InstanceHandle)
,
DomainParticipant.ignorePublication(org.omg.dds.core.InstanceHandle)
,
DomainParticipant.ignoreSubscription(org.omg.dds.core.InstanceHandle)
,
and
DomainParticipant.ignoreTopic(org.omg.dds.core.InstanceHandle)
these QoS can assist an application to define and enforce its own security
policies. The use of this QoS is not limited to security, rather it offers
a simple, yet flexible extensibility mechanism.QosPolicy.ForDataReader, QosPolicy.ForDataWriter, QosPolicy.ForDomainParticipant, QosPolicy.ForDomainParticipantFactory, QosPolicy.ForPublisher, QosPolicy.ForSubscriber, QosPolicy.ForTopic
Modifier and Type | Method and Description |
---|---|
byte[] |
getValue()
Get a copy of the data.
|
UserData |
withValue(byte[] value,
int offset,
int length)
Copy this policy and override the value of the property.
|
getEnvironment
byte[] getValue()
UserData withValue(byte[] value, int offset, int length)
Copyright © 2010 Real-Time Innovations, Inc. (RTI)
Copyright © 2010 PrismTech, Ltd.
Copyright © 2010 Object Management Group, Inc. (OMG)
All Rights Reserved.