OpenSplice Java 5 DCPS  v6.x
OpenSplice Java 5 OpenSplice Data Distribution Service Data-Centric Publish-Subscribe API
QosProvider.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;
20 
23 import org.omg.dds.pub.DataWriterQos;
24 import org.omg.dds.pub.PublisherQos;
25 import org.omg.dds.sub.DataReaderQos;
26 import org.omg.dds.sub.SubscriberQos;
27 import org.omg.dds.topic.TopicQos;
28 
47 public abstract class QosProvider implements DDSObject {
48 
72  public static QosProvider newQosProvider(String uri,
73  String profile,
75  {
76  if (env == null) {
77  throw new IllegalArgumentException("Invalid environment provided");
78  }
79  return env.getSPI().newQosProvider(uri, profile);
80  }
81 
100 
130 
145 
172  public abstract DomainParticipantQos getDomainParticipantQos(String id);
173 
187  public abstract TopicQos getTopicQos();
188 
215  public abstract TopicQos getTopicQos(String id);
216 
230  public abstract SubscriberQos getSubscriberQos();
231 
258  public abstract SubscriberQos getSubscriberQos(String id);
259 
273  public abstract PublisherQos getPublisherQos();
274 
301  public abstract PublisherQos getPublisherQos(String id);
302 
316  public abstract DataReaderQos getDataReaderQos();
317 
344  public abstract DataReaderQos getDataReaderQos(String id);
345 
359  public abstract DataWriterQos getDataWriterQos();
360 
387  public abstract DataWriterQos getDataWriterQos(String id);
388 }
abstract DataReaderQos getDataReaderQos()
Resolves the DataReaderQos associated with QosProvider.
abstract ServiceProviderInterface getSPI()
This method is not intended for use by applications.
static QosProvider newQosProvider(String uri, String profile, ServiceEnvironment env)
Constructs a new QosProvider based on the provided uri and profile.
abstract PublisherQos getPublisherQos()
Resolves the PublisherQos associated with QosProvider.
abstract DataWriterQos getDataWriterQos()
Resolves the DataWriterQos associated with QosProvider.
abstract TopicQos getTopicQos()
Resolves the TopicQos associated with QosProvider.
A supertype of all DDS classes and interfaces.
Definition: DDSObject.java:25
The QoS provider API allows users to specify the QoS settings of their DCPS entities outside of appli...
abstract SubscriberQos getSubscriberQos()
Resolves the SubscriberQos associated with QosProvider.
abstract DomainParticipantFactoryQos getDomainParticipantFactoryQos()
Resolves the DomainParticipantFactoryQos associated with QosProvider.
DDS implementations are rooted in this class, a concrete subclass of which can be instantiated based ...
abstract QosProvider newQosProvider(String uri, String profile)
Create a QosProvider fetching QoS configuration from the specified URI.
abstract DomainParticipantQos getDomainParticipantQos()
Resolves the DomainParticipantQos associated with QosProvider.