OpenSplice Java 5 DCPS  v6.x
OpenSplice Java 5 OpenSplice Data Distribution Service Data-Centric Publish-Subscribe API
DataReaderAdapter.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.sub;
20 
28 
34 public class DataReaderAdapter<TYPE> implements DataReaderListener<TYPE>
35 {
36  @Override
38  {
39  // empty
40  }
41 
42  @Override
44  {
45  // empty
46  }
47 
48  @Override
51  {
52  // empty
53  }
54 
55  @Override
58  {
59  // empty
60  }
61 
62  @Override
63  public void onSampleLost(SampleLostEvent<TYPE> status)
64  {
65  // empty
66  }
67 
68  @Override
70  {
71  // empty
72  }
73 
74  @Override
76  {
77  // empty
78  }
79 }
Since a org.omg.dds.sub.DataReader is a kind of org.omg.dds.core.Entity, it has the ability to have a...
void onDataAvailable(DataAvailableEvent< TYPE > status)
This operation is the external operation (interface, which must be implemented by the application) th...
A org.omg.dds.core.policy.QosPolicy value was incompatible with what is offered.
void onLivelinessChanged(LivelinessChangedEvent< TYPE > status)
This operation is the external operation (interface, which must be implemented by the application) th...
void onSubscriptionMatched(SubscriptionMatchedEvent< TYPE > status)
This operation is called by the Data Distribution Service when a new match has been discovered for th...
void onSampleLost(SampleLostEvent< TYPE > status)
This operation is the external operation (interface, which must be implemented by the application) th...
A convenience class DataReaderAdapter is offered which has an empty implementation of all org...
A (received) sample has been rejected.
void onSampleRejected(SampleRejectedEvent< TYPE > status)
This operation is the external operation (interface, which must be implemented by the application) th...
The liveliness of one or more org.omg.dds.pub.DataWriters that were writing instances read through th...
void onRequestedDeadlineMissed(RequestedDeadlineMissedEvent< TYPE > status)
This operation is the external operation (interface, which must be implemented by the application) th...
The DataAvailableEvent status change becomes TRUE when either a data-sample arrives or else the ViewS...
void onRequestedIncompatibleQos(RequestedIncompatibleQosEvent< TYPE > status)
This operation is the external operation (interface, which must be implemented by the application) th...
The deadline that the org.omg.dds.sub.DataReader was expecting through its org.omg.dds.core.policy.Deadline was not respected for a specific instance.
The org.omg.dds.sub.DataReader has found a org.omg.dds.pub.DataWriter that matches the org...
A sample has been lost (never received).