public interface TransportPriority extends QosPolicy.ForTopic, QosPolicy.ForDataWriter
Topic
, DataWriter
RxO: N/A
Changeable: Yes
The purpose of this QoS is to allow the application to take advantage of
transports capable of sending messages with different priorities.
This policy is considered a hint. The policy depends on the ability of the
underlying transports to set a priority on the messages they send. Any
value within the range of a 32-bit signed integer may be chosen; higher
values indicate higher priority. However, any further interpretation of
this policy is specific to a particular transport and a particular
implementation of the Service. For example, a particular transport is
permitted to treat a range of priority values as equivalent to one
another. It is expected that during transport configuration the
application would provide a mapping between the values of the
TRANSPORT_PRIORITY set on DataWriter and the values meaningful to each
transport. This mapping would then be used by the infrastructure when
propagating the data written by the DataWriter.QosPolicy.ForDataReader, QosPolicy.ForDataWriter, QosPolicy.ForDomainParticipant, QosPolicy.ForDomainParticipantFactory, QosPolicy.ForPublisher, QosPolicy.ForSubscriber, QosPolicy.ForTopic
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
TransportPriority |
withValue(int value)
Copy this policy and override the value of the property.
|
getEnvironment
int getValue()
TransportPriority withValue(int value)
Copyright © 2014. All rights reserved.