OpenSplice Java 5 DCPS  v6.x
OpenSplice Java 5 OpenSplice Data Distribution Service Data-Centric Publish-Subscribe API
DataReaderListener.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 
21 import java.util.EventListener;
22 
23 
31 
32 
33 
75 public interface DataReaderListener<TYPE> extends EventListener {
88  public void onRequestedDeadlineMissed(
108  public void onRequestedIncompatibleQos(
126  public void onSampleRejected(SampleRejectedEvent<TYPE> status);
127 
142 
163  public void onDataAvailable(DataAvailableEvent<TYPE> status);
164 
197  public void onSampleLost(SampleLostEvent<TYPE> status);
198 }
void onRequestedIncompatibleQos(RequestedIncompatibleQosEvent< TYPE > status)
This operation is the external operation (interface, which must be implemented by the application) th...
Since a org.omg.dds.sub.DataReader is a kind of org.omg.dds.core.Entity, it has the ability to have a...
void onSampleRejected(SampleRejectedEvent< TYPE > status)
This operation is the external operation (interface, which must be implemented by the application) th...
void onRequestedDeadlineMissed(RequestedDeadlineMissedEvent< 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 onSampleLost(SampleLostEvent< 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...
A (received) sample has been rejected.
void onDataAvailable(DataAvailableEvent< 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...
The DataAvailableEvent status change becomes TRUE when either a data-sample arrives or else the ViewS...
void onLivelinessChanged(LivelinessChangedEvent< 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).