OpenSplice Java 5 DCPS  v6.x
OpenSplice Java 5 OpenSplice Data Distribution Service Data-Centric Publish-Subscribe API
SubscriberListener.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 
31 
32 
66 public interface SubscriberListener extends EventListener {
79  public void onRequestedDeadlineMissed(
95  public void onRequestedIncompatibleQos(
113  public void onSampleRejected(SampleRejectedEvent<?> status);
148  public void onDataAvailable(DataAvailableEvent<?> status);
181  public void onSampleLost(SampleLostEvent<?> status);
202  public void onDataOnReaders(DataOnReadersEvent status);
203 }
void onDataOnReaders(DataOnReadersEvent 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 onDataAvailable(DataAvailableEvent<?> status)
This operation is the external operation (interface, which must be implemented by the application) th...
void onSubscriptionMatched(SubscriptionMatchedEvent<?> status)
This operation is called by the Data Distribution Service when a new match has been discovered for th...
There is new data in one of the DataReaders of the Subscriber.
Since a org.omg.dds.sub.Subscriber is a kind of org.omg.dds.core.Entity, it has the ability to have a...
void onRequestedIncompatibleQos(RequestedIncompatibleQosEvent<?> status)
This operation is the external operation (interface, which must be implemented by the application) th...
A (received) sample has been rejected.
void onSampleRejected(SampleRejectedEvent<?> status)
This operation is the external operation (interface, which must be implemented by the application) th...
void onRequestedDeadlineMissed(RequestedDeadlineMissedEvent<?> status)
This operation is the external operation (interface, which must be implemented by the application) th...
void onLivelinessChanged(LivelinessChangedEvent<?> 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...
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.
void onSampleLost(SampleLostEvent<?> status)
This operation is the external operation (interface, which must be implemented by the application) th...
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).