OpenSplice Java 5 DCPS  v6.x
OpenSplice Java 5 OpenSplice Data Distribution Service Data-Centric Publish-Subscribe API
PolicyFactory.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 package org.omg.dds.core.policy;
19 
21 
22 public abstract class PolicyFactory implements org.omg.dds.core.DDSObject {
23 
25  {
26  return env.getSPI().getPolicyFactory();
27  }
28 
32  public abstract Durability Durability();
33 
37  public abstract Deadline Deadline();
38 
42  public abstract LatencyBudget LatencyBudget();
43 
47  public abstract Liveliness Liveliness();
48 
52  public abstract DestinationOrder DestinationOrder();
53 
57  public abstract History History();
58 
62  public abstract ResourceLimits ResourceLimits();
63 
67  public abstract UserData UserData();
68 
72  public abstract Ownership Ownership();
73 
77  public abstract TimeBasedFilter TimeBasedFilter();
78 
82  public abstract ReaderDataLifecycle ReaderDataLifecycle();
83 
87  public abstract DataRepresentation DataRepresentation();
88 
92  public abstract Presentation Presentation();
93 
97  public abstract TopicData TopicData();
98 
103 
107  public abstract DurabilityService DurabilityService();
108 
112  public abstract Reliability Reliability();
113 
117  public abstract TransportPriority TransportPriority();
118 
122  public abstract Lifespan Lifespan();
123 
127  public abstract OwnershipStrength OwnershipStrength();
128 
132  public abstract WriterDataLifecycle WriterDataLifecycle();
133 
137  public abstract Partition Partition();
138 
142  public abstract GroupData GroupData();
143 
147  public abstract EntityFactory EntityFactory();
148 }
149 
abstract LatencyBudget LatencyBudget()
Specifies the configuration of the durability service.
Specifies the behavior of the org.omg.dds.sub.DataReader with regards to the life cycle of the data i...
[optional] Specifies the value of the "strength" used to arbitrate among multiple org...
abstract PolicyFactory getPolicyFactory()
Provides an instance of org.omg.dds.core.policy.PolicyFactory.
Specifies the behavior of the org.omg.dds.pub.DataWriter with regards to the life cycle of the data i...
Specifies the maximum acceptable delay from the time the data is written until the data is inserted i...
abstract ResourceLimits ResourceLimits()
Filter that allows a org.omg.dds.sub.DataReader to specify that it is interested only in (potentially...
abstract WriterDataLifecycle WriterDataLifecycle()
abstract DataRepresentation DataRepresentation()
User data not known by the middleware, but distributed by means of built-in topics.
Definition: UserData.java:48
abstract TransportPriority TransportPriority()
abstract Reliability Reliability()
This policy allows the introduction of a logical partition concept inside the "physical" partition in...
Definition: Partition.java:86
abstract ServiceProviderInterface getSPI()
This method is not intended for use by applications.
abstract Durability Durability()
abstract OwnershipStrength OwnershipStrength()
abstract EntityFactory EntityFactory()
abstract TimeBasedFilter TimeBasedFilter()
abstract DestinationOrder DestinationOrder()
static PolicyFactory getPolicyFactory(ServiceEnvironment env)
Specifies how the samples representing changes to data instances are presented to the subscribing app...
User data not known by the middleware, but distributed by means of built-in topics.
Definition: GroupData.java:44
Determines the mechanism and parameters used by the application to determine whether an org...
A supertype of all DDS classes and interfaces.
Definition: DDSObject.java:25
This policy is a hint to the infrastructure as to how to set the priority of the underlying transport...
abstract Presentation Presentation()
Controls the criteria used to determine the logical order among changes made by org.omg.dds.pub.Publisher entities to the same instance of data (i.e., matching Topic and key).
abstract TypeConsistencyEnforcement TypeConsistency()
DDS implementations are rooted in this class, a concrete subclass of which can be instantiated based ...
Specifies the resources that the Service can consume in order to meet the requested QoS...
abstract ReaderDataLifecycle ReaderDataLifecycle()
Controls the behavior of the org.omg.dds.core.Entity when acting as a factory for other entities...
This policy indicates the level of reliability requested by a org.omg.dds.sub.DataReader or offered b...
This policy expresses if the data should "outlive" their writing time.
org.omg.dds.sub.DataReader expects a new sample updating the value of each instance at least once eve...
Definition: Deadline.java:92
abstract DurabilityService DurabilityService()
This QosPolicy specifies whether a DataWriter exclusively may own an instance.
Definition: Ownership.java:63
Specifies the maximum duration of validity of the data written by the org.omg.dds.pub.DataWriter.
Definition: Lifespan.java:57
User data not known by the middleware, but distributed by means of built-in topics.
Definition: TopicData.java:42
abstract Liveliness Liveliness()
Specifies the behavior of the Service in the case where the value of a sample changes (one or more ti...
Definition: History.java:76