OpenSplice Java 5 DCPS  v6.x
OpenSplice Java 5 OpenSplice Data Distribution Service Data-Centric Publish-Subscribe API
LivelinessChangedStatus.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.status;
20 
22 
23 
32 public abstract class LivelinessChangedStatus extends Status
33 {
34  // -----------------------------------------------------------------------
35  // Constants
36  // -----------------------------------------------------------------------
37 
38  private static final long serialVersionUID = -8771335633962700621L;
39 
40 
41 
42  // -----------------------------------------------------------------------
43  // Methods
44  // -----------------------------------------------------------------------
45 
55  public abstract int getAliveCount();
56 
66  public abstract int getNotAliveCount();
67 
72  public abstract int getAliveCountChange();
73 
78  public abstract int getNotAliveCountChange();
79 
91  public abstract InstanceHandle getLastPublicationHandle();
92 }
abstract int getAliveCountChange()
The change in the aliveCount since the last time the listener was called or the status was read...
abstract int getNotAliveCount()
The total count of currently org.omg.dds.pub.DataWriters that write the org.omg.dds.topic.Topic read by the org.omg.dds.sub.DataReader that are no longer asserting their liveliness.
abstract InstanceHandle getLastPublicationHandle()
Handle to the last org.omg.dds.pub.DataWriter whose change in liveliness caused this status to change...
An opaque handle that can be used to refer to a local or remote entity.
abstract int getAliveCount()
The total number of currently active org.omg.dds.pub.DataWriters that write the Topic read by the org...
abstract int getNotAliveCountChange()
The change in the notAliveCount since the last time the listener was called or the status was read...
The liveliness of one or more org.omg.dds.pub.DataWriters that were writing instances read through th...
Status is the abstract root class for all communication status objects.
Definition: Status.java:41