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 = -3766147880242839380L;
40 private final int totalCount;
41 private final int totalCountChange;
42 private final Class<? extends QosPolicy> lastPolicyClass;
43 private final List<QosPolicyCount> policies;
46 int totalCount,
int totalCountChange,
47 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()));
OfferedIncompatibleQosStatusImpl(OsplServiceEnvironment environment, int totalCount, int totalCountChange, Class<? extends QosPolicy > lastPolicyClass, QosPolicyCount... policies)
ServiceEnvironment getEnvironment()
Set< QosPolicyCount > getPolicies()
Class<? extends QosPolicy > getLastPolicyClass()
This class is the abstract root for all the QoS policies.
A org.omg.dds.core.policy.QosPolicy value was incompatible with what was requested.
Objects of this type are immutable.
DDS implementations are rooted in this class, a concrete subclass of which can be instantiated based ...
int getTotalCountChange()