RTI Connext Java API  Version 6.1.1

Indicates whether or not a sample has ever been read. More...

Static Public Attributes

static final int READ_SAMPLE_STATE = 0x0001 << 0
 Sample has been read. More...
 
static final int NOT_READ_SAMPLE_STATE = 0x0001 << 1
 Sample has not been read. More...
 
static final int ANY_SAMPLE_STATE = 0xffff
 Any sample state com.rti.dds.subscription.SampleStateKind.SampleStateKind.READ_SAMPLE_STATE | com.rti.dds.subscription.SampleStateKind.SampleStateKind.NOT_READ_SAMPLE_STATE. More...
 

Detailed Description

Indicates whether or not a sample has ever been read.

For each sample received, the middleware internally maintains a sample_state relative to each com.rti.dds.subscription.DataReader. The sample state can be either:

  • com.rti.dds.subscription.SampleStateKind.SampleStateKind.READ_SAMPLE_STATE indicates that the com.rti.dds.subscription.DataReader has already accessed that sample by means of a read or take operation.

The sample state will, in general, be different for each sample in the collection returned by read or take.

Member Data Documentation

◆ READ_SAMPLE_STATE

final int READ_SAMPLE_STATE = 0x0001 << 0
static

Sample has been read.

◆ NOT_READ_SAMPLE_STATE

final int NOT_READ_SAMPLE_STATE = 0x0001 << 1
static

Sample has not been read.

Referenced by Requester< TReq, TRep >.waitForReplies().