OpenSplice Java 5 DCPS  v6.x
OpenSplice Java 5 OpenSplice Data Distribution Service Data-Centric Publish-Subscribe API
org.omg.dds.core.status.OfferedIncompatibleQosStatus Class Referenceabstract

A org.omg.dds.core.policy.QosPolicy value was incompatible with what was requested. More...

Inheritance diagram for org.omg.dds.core.status.OfferedIncompatibleQosStatus:
Inheritance graph
Collaboration diagram for org.omg.dds.core.status.OfferedIncompatibleQosStatus:
Collaboration graph

Public Member Functions

ServiceEnvironment getEnvironment ()
 
abstract Class<? extends QosPolicygetLastPolicyClass ()
 The class of one of the policies that was found to be incompatible the last time an incompatibility was detected. More...
 
abstract Set< QosPolicyCountgetPolicies ()
 A list containing for each policy the total number of times that the concerned org.omg.dds.pub.DataWriter discovered a org.omg.dds.sub.DataReader for the same org.omg.dds.topic.Topic with a requested QoS that is incompatible with that offered by the DataWriter. More...
 
abstract int getTotalCount ()
 Total cumulative number of times the concerned org.omg.dds.pub.DataWriter discovered a org.omg.dds.sub.DataReader for the same org.omg.dds.topic.Topic with a requested QoS that is incompatible with that offered by the DataWriter. More...
 
abstract int getTotalCountChange ()
 The change in totalCount since the last time the listener was called or the status was read. More...
 

Static Public Member Functions

static Set< Class<? extends Status > > allStatuses (ServiceEnvironment env)
 
static Set< Class<? extends Status > > noStatuses (ServiceEnvironment env)
 

Detailed Description

A org.omg.dds.core.policy.QosPolicy value was incompatible with what was requested.

This class contains the statistics about whether an offered QosPolicy setting was incompatible with the requested QosPolicy setting. The Request/Offering mechanism is applicable between:

  • The DataWriter and the DataReader. If the QosPolicy settings between DataWriter and DataReader are incompatible, no communication between them is established. In addition the DataWriter will be informed via a REQUESTED_INCOMPATIBLE_QOS status change and the DataReader will be informed via an OFFERED_INCOMPATIBLE_QOS status change.
  • The DataWriter and the Durability Service (as a built-in DataReader). If the QosPolicy settings between DataWriter and the Durability Service are inconsistent, no communication between them is established. In that case data published by the DataWriter will not be maintained by the service and as a consequence will not be available for late joining DataReaders. The QosPolicy of the Durability Service in the role of DataReader is specified by the DurabilityServiceQosPolicy in the Topic.
  • The Durability Service (as a built-in DataWriter) and the DataReader. If the QosPolicy settings between the Durability Service and the DataReader are inconsistent, no communication between them is established. In that case the Durability Service will not publish historical data to late joining DataReaders. The QosPolicy of the Durability Service in the role of DataWriter is specified by the DurabilityServiceQosPolicy in the Topic.
See also
org.omg.dds.core.event.OfferedIncompatibleQosEvent
RequestedIncompatibleQosStatus

Definition at line 53 of file OfferedIncompatibleQosStatus.java.

Member Function Documentation

◆ allStatuses()

static Set<Class<? extends Status> > org.omg.dds.core.status.Status.allStatuses ( ServiceEnvironment  env)
staticinherited
Parameters
envIdentifies the Service instance to which the object will belong.

Definition at line 59 of file Status.java.

◆ getEnvironment()

ServiceEnvironment org.omg.dds.core.DDSObject.getEnvironment ( )
inherited
Returns
the org.omg.dds.core.ServiceEnvironment object that directly or indirectly was used to create this object.

Implemented in org.omg.dds.core.ServiceEnvironment, org.opensplice.dds.sub.ReflectionDataReader< TYPE, OUT_TYPE >, org.opensplice.dds.core.ModifiableTimeImpl, org.opensplice.dds.pub.ReflectionDataWriter< TYPE >, org.opensplice.dds.core.DurationImpl, org.opensplice.dds.topic.ContentFilteredTopicImpl< TYPE >, org.opensplice.dds.sub.ReadConditionImpl< TYPE >, org.opensplice.dds.core.EntityQosImpl< T extends QosPolicy >, org.opensplice.dds.type.TypeSupportImpl< TYPE >, org.opensplice.dds.topic.PublicationBuiltinTopicDataImpl, org.opensplice.dds.topic.SubscriptionBuiltinTopicDataImpl, org.opensplice.dds.topic.TopicBuiltinTopicDataImpl, org.opensplice.dds.domain.DomainParticipantFactoryImpl, org.opensplice.dds.core.QosProviderImpl, org.opensplice.dds.core.status.OfferedIncompatibleQosStatusImpl, org.opensplice.dds.core.status.RequestedIncompatibleQosStatusImpl, org.opensplice.dds.core.InstanceHandleImpl, org.opensplice.dds.core.StatusConditionImpl< T extends Entity<?, ?>, org.opensplice.dds.core.status.LivelinessChangedStatusImpl, org.opensplice.dds.core.status.PublicationMatchedStatusImpl, org.opensplice.dds.core.status.SubscriptionMatchedStatusImpl, org.opensplice.dds.sub.SampleImpl< TYPE >, org.opensplice.dds.core.policy.ShareImpl, org.opensplice.dds.core.status.OfferedDeadlineMissedStatusImpl, org.opensplice.dds.core.status.SampleRejectedStatusImpl, org.opensplice.dds.core.WaitSetImpl, org.opensplice.dds.topic.ParticipantBuiltinTopicDataImpl, org.opensplice.dds.core.status.RequestedDeadlineMissedStatusImpl, org.opensplice.dds.topic.BuiltinTopicKeyImpl, org.opensplice.dds.core.GuardConditionImpl, org.opensplice.dds.core.event.AllDataDisposedEventImpl< TYPE >, org.opensplice.dds.core.policy.QosPolicyCountImpl, org.opensplice.dds.core.status.InconsistentTopicStatusImpl, org.opensplice.dds.core.status.LivelinessLostStatusImpl, org.opensplice.dds.core.status.SampleLostStatusImpl, org.opensplice.dds.core.policy.QosPolicyImpl, org.opensplice.dds.core.status.AllDataDisposedStatusImpl, org.opensplice.dds.core.IllegalArgumentExceptionImpl, org.opensplice.dds.core.InconsistentPolicyExceptionImpl, org.opensplice.dds.core.policy.PolicyFactoryImpl, org.opensplice.dds.core.policy.TypeConsistencyEnforcementImpl, org.opensplice.dds.core.PreconditionNotMetExceptionImpl, org.opensplice.dds.core.AlreadyClosedExceptionImpl, org.opensplice.dds.core.IllegalOperationExceptionImpl, org.opensplice.dds.core.ImmutablePolicyExceptionImpl, org.opensplice.dds.core.NotEnabledExceptionImpl, org.opensplice.dds.core.OutOfResourcesExceptionImpl, org.opensplice.dds.core.DDSExceptionImpl, org.opensplice.dds.core.status.DataAvailableStatusImpl, and org.opensplice.dds.core.status.DataOnReadersStatusImpl.

◆ getLastPolicyClass()

abstract Class<? extends QosPolicy> org.omg.dds.core.status.OfferedIncompatibleQosStatus.getLastPolicyClass ( )
abstract

The class of one of the policies that was found to be incompatible the last time an incompatibility was detected.

◆ getPolicies()

abstract Set<QosPolicyCount> org.omg.dds.core.status.OfferedIncompatibleQosStatus.getPolicies ( )
abstract

A list containing for each policy the total number of times that the concerned org.omg.dds.pub.DataWriter discovered a org.omg.dds.sub.DataReader for the same org.omg.dds.topic.Topic with a requested QoS that is incompatible with that offered by the DataWriter.

Returns
an unmodifiable set of policy counts.

◆ getTotalCount()

abstract int org.omg.dds.core.status.OfferedIncompatibleQosStatus.getTotalCount ( )
abstract

Total cumulative number of times the concerned org.omg.dds.pub.DataWriter discovered a org.omg.dds.sub.DataReader for the same org.omg.dds.topic.Topic with a requested QoS that is incompatible with that offered by the DataWriter.

◆ getTotalCountChange()

abstract int org.omg.dds.core.status.OfferedIncompatibleQosStatus.getTotalCountChange ( )
abstract

The change in totalCount since the last time the listener was called or the status was read.

◆ noStatuses()

static Set<Class<? extends Status> > org.omg.dds.core.status.Status.noStatuses ( ServiceEnvironment  env)
staticinherited
Parameters
envIdentifies the Service instance to which the object will belong.

Definition at line 70 of file Status.java.


The documentation for this class was generated from the following file: