CoreDX DDS for Java
from Twin Oaks Computing, Inc.

com.toc.coredx.DDS
Class LivelinessQosPolicy

java.lang.Object
  extended by com.toc.coredx.DDS.LivelinessQosPolicy

public class LivelinessQosPolicy
extends java.lang.Object

Determines the mechanism and parameters used by the application to determine whether an Entity is alive. The QoS defines the kind of liveliness (how liveliness is maintained) as well as a 'lease_duration' which specifies an interval for checking liveliness. The liveliness kind can be one of the following:

The lease_duration indicates the maximum interval between liveliness indications from the publishing entity. If this period elapses with no indication from the publishing entity, then the entity is considered not alive.

Changes in liveliness are indicated to the application through status changes and the DataWriterListener.on_liveliness_lost and DataReaderListener.on_liveliness_changed listeners.

See Also:
on_liveliness_changed, on_liveliness_lost

Field Summary
 LivelinessQosPolicyKind kind
           
 Duration_t lease_duration
           
 
Constructor Summary
LivelinessQosPolicy()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

kind

public LivelinessQosPolicyKind kind

lease_duration

public Duration_t lease_duration
Constructor Detail

LivelinessQosPolicy

public LivelinessQosPolicy()

Copyright © 2010 Twin Oaks Computing, Inc,
All Rights Reserved