org.omg.dds.core.policy
Interface QosPolicy<UNMOD_SELF extends QosPolicy<UNMOD_SELF,MOD_SELF>,MOD_SELF extends UNMOD_SELF>
- All Superinterfaces:
- java.lang.Cloneable, DDSObject, java.io.Serializable, Value<UNMOD_SELF,MOD_SELF>
- All Known Subinterfaces:
- DataRepresentationQosPolicy, DeadlineQosPolicy, DestinationOrderQosPolicy, DurabilityQosPolicy, DurabilityServiceQosPolicy, EntityFactoryQosPolicy, GroupDataQosPolicy, HistoryQosPolicy, LatencyBudgetQosPolicy, LifespanQosPolicy, LivelinessQosPolicy, ModifiableDataRepresentationQosPolicy, ModifiableDeadlineQosPolicy, ModifiableDestinationOrderQosPolicy, ModifiableDurabilityQosPolicy, ModifiableDurabilityServiceQosPolicy, ModifiableEntityFactoryQosPolicy, ModifiableGroupDataQosPolicy, ModifiableHistoryQosPolicy, ModifiableLatencyBudgetQosPolicy, ModifiableLifespanQosPolicy, ModifiableLivelinessQosPolicy, ModifiableOwnershipQosPolicy, ModifiableOwnershipStrengthQosPolicy, ModifiablePartitionQosPolicy, ModifiablePresentationQosPolicy, ModifiableQosPolicy<UNMOD_SELF,MOD_SELF>, ModifiableReaderDataLifecycleQosPolicy, ModifiableReliabilityQosPolicy, ModifiableResourceLimitsQosPolicy, ModifiableTimeBasedFilterQosPolicy, ModifiableTopicDataQosPolicy, ModifiableTransportPriorityQosPolicy, ModifiableTypeConsistencyEnforcementQosPolicy, ModifiableUserDataQosPolicy, ModifiableWriterDataLifecycleQosPolicy, OwnershipQosPolicy, OwnershipStrengthQosPolicy, PartitionQosPolicy, PresentationQosPolicy, ReaderDataLifecycleQosPolicy, ReliabilityQosPolicy, ResourceLimitsQosPolicy, TimeBasedFilterQosPolicy, TopicDataQosPolicy, TransportPriorityQosPolicy, TypeConsistencyEnforcementQosPolicy, UserDataQosPolicy, WriterDataLifecycleQosPolicy
@Extensibility(value=EXTENSIBLE_EXTENSIBILITY)
@Nested
public interface QosPolicy<UNMOD_SELF extends QosPolicy<UNMOD_SELF,MOD_SELF>,MOD_SELF extends UNMOD_SELF>
- extends Value<UNMOD_SELF,MOD_SELF>
This class is the abstract root for all the QoS policies. It provides the
basic mechanism for an application to specify quality of service
parameters. It has a name (getId().getPolicyName()) that is
used to identify uniquely each QoS policy. All concrete QosPolicy classes
derive from this root and include a value whose type depends on the
concrete QoS policy.
The type of a QosPolicy value may be atomic, such as an integer or float,
or compound (a structure). Compound types are used whenever multiple
parameters must be set coherently to define a consistent value for a
QosPolicy.
Each Entity can be configured with a collection of QosPolicy.
However, any Entity cannot support any QosPolicy. For instance, a
DomainParticipant supports different QosPolicy than a Topic
or a Publisher.
QosPolicy can be set when the Entity is created, or modified with the
Entity.setQos(org.omg.dds.core.EntityQos) method. Each QosPolicy
in collection list is treated independently from the others. This approach
has the advantage of being very extensible. However, there may be cases
where several policies are in conflict. Consistency checking is performed
each time the policies are modified via the
Entity.setQos(org.omg.dds.core.EntityQos)operation.
When a policy is changed after being set to a given value, it is not
required that the new value be applied instantaneously; the Service is
allowed to apply it after a transition phase. In addition, some QosPolicy
have ÒimmutableÓ semantics meaning that they can only be specified either
at Entity creation time or else prior to calling the
Entity.enable() operation on the Entity.
getId
QosPolicy.Id getId()
Copyright © 2010 Real-Time Innovations, Inc. (RTI)
Copyright © 2010 PrismTech, Ltd.
Copyright © 2010 Object Management Group, Inc. (OMG)
All Rights Reserved.