RTI Connext Java API  Version 6.1.2

Indicates if the samples are from a live com.rti.dds.publication.DataWriter or not. More...

Static Public Attributes

static final int ALIVE_INSTANCE_STATE = 0x0001 << 0
 Instance is currently in existence. More...
 
static final int NOT_ALIVE_DISPOSED_INSTANCE_STATE = 0x0001 << 1
 Not alive disposed instance. The instance has been disposed by a DataWriter. More...
 
static final int NOT_ALIVE_NO_WRITERS_INSTANCE_STATE = 0x0001 << 2
 Not alive no writers for instance. None of the com.rti.dds.publication.DataWriter objects that are currently alive (according to the LIVELINESS) are writing the instance. More...
 
static final int ANY_INSTANCE_STATE = 0xffff
 Any instance state ALIVE_INSTANCE_STATE | NOT_ALIVE_DISPOSED_INSTANCE_STATE | NOT_ALIVE_NO_WRITERS_INSTANCE_STATE. More...
 
static final int NOT_ALIVE_INSTANCE_STATE = 0x006
 Not alive instance state NOT_ALIVE_DISPOSED_INSTANCE_STATE | NOT_ALIVE_NO_WRITERS_INSTANCE_STATE. More...
 

Detailed Description

Indicates if the samples are from a live com.rti.dds.publication.DataWriter or not.

For each instance, the middleware internally maintains an instance state. The instance state can be:

The precise behavior events that cause the instance state to change depends on the setting of the OWNERSHIP QoS:

The instance state available in the com.rti.dds.subscription.SampleInfo is a snapshot of the instance state of the instance at the time the collection was obtained (i.e. at the time read or take was called). The instance state is therefore the same for all samples in the returned collection that refer to the same instance.

Member Data Documentation

◆ ALIVE_INSTANCE_STATE

final int ALIVE_INSTANCE_STATE = 0x0001 << 0
static

Instance is currently in existence.

◆ NOT_ALIVE_DISPOSED_INSTANCE_STATE

final int NOT_ALIVE_DISPOSED_INSTANCE_STATE = 0x0001 << 1
static

Not alive disposed instance. The instance has been disposed by a DataWriter.

◆ NOT_ALIVE_NO_WRITERS_INSTANCE_STATE

final int NOT_ALIVE_NO_WRITERS_INSTANCE_STATE = 0x0001 << 2
static

Not alive no writers for instance. None of the com.rti.dds.publication.DataWriter objects that are currently alive (according to the LIVELINESS) are writing the instance.