21 package org.opensplice.dds.core.status;
23 import java.util.ArrayList;
24 import java.util.Collections;
25 import java.util.HashSet;
26 import java.util.List;
38 private static final long serialVersionUID = 8046180416846302298L;
40 private final int totalCount;
41 private final int totalCountChange;
42 private final Class<? extends QosPolicy> lastPolicyClass;
43 private final List<QosPolicyCount> policies;
47 int totalCountChange, Class<? extends QosPolicy> lastPolicyClass,
49 this.environment = environment;
50 this.totalCount = totalCount;
51 this.totalCountChange = totalCountChange;
52 this.lastPolicyClass = lastPolicyClass;
53 this.policies = Collections
54 .synchronizedList(
new ArrayList<QosPolicyCount>());
63 return this.environment;
68 return this.totalCount;
73 return this.totalCountChange;
78 return this.lastPolicyClass;
83 Set<QosPolicyCount> policyCount =
new HashSet<QosPolicyCount>();
87 .getPolicyClass(), qp.getCount()));
Class<? extends QosPolicy > getLastPolicyClass()
Set< QosPolicyCount > getPolicies()
RequestedIncompatibleQosStatusImpl(OsplServiceEnvironment environment, int totalCount, int totalCountChange, Class<? extends QosPolicy > lastPolicyClass, QosPolicyCount... policies)
A org.omg.dds.core.policy.QosPolicy value was incompatible with what is offered.
This class is the abstract root for all the QoS policies.
ServiceEnvironment getEnvironment()
Objects of this type are immutable.
DDS implementations are rooted in this class, a concrete subclass of which can be instantiated based ...
int getTotalCountChange()