OpenSplice Java 5 DCPS  v6.x
OpenSplice Java 5 OpenSplice Data Distribution Service Data-Centric Publish-Subscribe API
Presentation.java
Go to the documentation of this file.
1 /* Copyright 2010, Object Management Group, Inc.
2  * Copyright 2010, PrismTech, Inc.
3  * Copyright 2010, Real-Time Innovations, Inc.
4  * All rights reserved.
5  *
6  * Licensed under the Apache License, Version 2.0 (the "License");
7  * you may not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  *
10  * http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an "AS IS" BASIS,
14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  * See the License for the specific language governing permissions and
16  * limitations under the License.
17  */
18 
19 package org.omg.dds.core.policy;
20 
21 
22 
74 public interface Presentation
75 extends QosPolicy.ForPublisher,
77  RequestedOffered<Presentation>
78 {
79  // -----------------------------------------------------------------------
80  // Methods
81  // -----------------------------------------------------------------------
82 
87 
121  public boolean isCoherentAccess();
122 
154  public boolean isOrderedAccess();
155 
156 
157  // --- Modification: -----------------------------------------------------
158 
166  public Presentation withAccessScope(AccessScopeKind accessScope);
167 
176  public Presentation withCoherentAccess(boolean coherentAccess);
177 
185  public Presentation withOrderedAccess(boolean orderedAccess);
186 
190  public Presentation withInstance();
194  public Presentation withTopic();
198  public Presentation withGroup();
199 
200  // -----------------------------------------------------------------------
201  // Types
202  // -----------------------------------------------------------------------
203 
204  public enum AccessScopeKind {
212 
219 
225  GROUP
226  }
227 
228 }
This interface is implemented by QoS policies that enforce a Request/Offer contract between publicati...
boolean isCoherentAccess()
If coherentAccess is set, then the accessScope controls the maximum extent of coherent changes...
Presentation withCoherentAccess(boolean coherentAccess)
Copy this policy and override the value of the property.
Presentation withAccessScope(AccessScopeKind accessScope)
Copy this policy and override the value of the property.
Presentation withOrderedAccess(boolean orderedAccess)
Copy this policy and override the value of the property.
Specifies how the samples representing changes to data instances are presented to the subscribing app...
A QosPolicy interface that implements this marker interface applies to org.omg.dds.pub.Publisher Entities.
Definition: QosPolicy.java:142
INSTANCE
Scope spans only a single instance.
This class is the abstract root for all the QoS policies.
Definition: QosPolicy.java:118
boolean isOrderedAccess()
If orderedAccess is set, then the accessScope controls the maximum extent for which order will be pre...
TOPIC
Scope spans to all instances within the same org.omg.dds.pub.DataWriter (or org.omg.dds.sub.DataReader), but not across instances in different DataWriter (or DataReader).
A QosPolicy interface that implements this marker interface applies to org.omg.dds.sub.Subscriber Entities.
Definition: QosPolicy.java:151