![]() |
OpenSplice Java 5 DCPS
v6.x
OpenSplice Java 5 OpenSplice Data Distribution Service Data-Centric Publish-Subscribe API
|
A DataState encapsulates sets of sample states, view states, and instance states as a convenience. More...
A DataState encapsulates sets of sample states, view states, and instance states as a convenience.
Instances of DataState may be unmodifiable, in which case methods that would change them shall throw UnsupportedOperationException.
Definition at line 645 of file Subscriber.java.
DataState org.omg.dds.sub.Subscriber.DataState.clone | ( | ) |
boolean org.omg.dds.sub.Subscriber.DataState.equals | ( | Object | other | ) |
|
inherited |
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.
Set<InstanceState> org.omg.dds.sub.Subscriber.DataState.getInstanceStates | ( | ) |
Get the current set of instance states.
The resulting unmodifiable collection may be empty, but it shall never be null.
Set<SampleState> org.omg.dds.sub.Subscriber.DataState.getSampleStates | ( | ) |
Get the current set of sample states.
The resulting unmodifiable collection may be empty, but it shall never be null.
Set<ViewState> org.omg.dds.sub.Subscriber.DataState.getViewStates | ( | ) |
Get the current set of view states.
The resulting unmodifiable collection may be empty, but it shall never be null.
int org.omg.dds.sub.Subscriber.DataState.hashCode | ( | ) |
DataState org.omg.dds.sub.Subscriber.DataState.with | ( | SampleState | state | ) |
Add the given org.omg.dds.sub.SampleState to this DataState.
state | the state to add. |
UnsupportedOperationException | if this DataState is unmodifiable. |
Add the given org.omg.dds.sub.ViewState to this DataState.
state | the state to add. |
UnsupportedOperationException | if this DataState is unmodifiable. |
DataState org.omg.dds.sub.Subscriber.DataState.with | ( | InstanceState | state | ) |
Add the given org.omg.dds.sub.InstanceState to this DataState.
state | the state to add. |
UnsupportedOperationException | if this DataState is unmodifiable. |
DataState org.omg.dds.sub.Subscriber.DataState.withAnyInstanceState | ( | ) |
Add all org.omg.dds.sub.InstanceState values to this DataState.
UnsupportedOperationException | if this DataState is unmodifiable. |
DataState org.omg.dds.sub.Subscriber.DataState.withAnySampleState | ( | ) |
Add all org.omg.dds.sub.SampleState values to this DataState.
UnsupportedOperationException | if this DataState is unmodifiable. |
DataState org.omg.dds.sub.Subscriber.DataState.withAnyViewState | ( | ) |
Add all org.omg.dds.sub.ViewState values to this DataState.
UnsupportedOperationException | if this DataState is unmodifiable. |
DataState org.omg.dds.sub.Subscriber.DataState.withNotAliveInstanceStates | ( | ) |
Add org.omg.dds.sub.InstanceState#NOT_ALIVE_DISPOSED and org.omg.dds.sub.InstanceState#NOT_ALIVE_NO_WRITERS to this DataState.
UnsupportedOperationException | if this DataState is unmodifiable. |