RTI Connext Java API  Version 6.1.1
SampleFlagBits Class Reference

Type to identify the sample flags reserved by RTI. More...

Static Public Attributes

static final int REDELIVERED_SAMPLE
 Indicates that a sample has been redelivered by RTI Queuing Service. More...
 
static final int INTERMEDIATE_REPLY_SEQUENCE_SAMPLE
 Indicates that a response sample is not the last response sample for a given request. This bit is usually set by Connext Repliers sending multiple responses for a request. More...
 
static final int REPLICATE_SAMPLE
 Indicates if a sample must be broadcast by one RTI Queuing Service replica to other replicas. More...
 
static final int LAST_SHARED_READER_QUEUE_SAMPLE
 Indicates that a sample is the last sample in a SharedReaderQueue for a QueueConsumer DataReader. More...
 
static final int INTERMEDIATE_TOPIC_QUERY_SAMPLE
 Indicates that a sample for a TopicQuery will be followed by more samples. More...
 
static final int WRITER_REMOVED_BATCH_SAMPLE = (0x00000001) << 5
 This flag will be set if the sample was accepted into the DataReader queue even though it was marked by the DataWriter as removed. More...
 
static final int DISCOVERY_SERVICE_SAMPLE = (0x00000001) << 6
 This flag will be set if the sample was sent by Cloud Discovery Service. More...
 

Detailed Description

Type to identify the sample flags reserved by RTI.

Member Data Documentation

◆ REDELIVERED_SAMPLE

final int REDELIVERED_SAMPLE
static

Indicates that a sample has been redelivered by RTI Queuing Service.

◆ INTERMEDIATE_REPLY_SEQUENCE_SAMPLE

final int INTERMEDIATE_REPLY_SEQUENCE_SAMPLE
static

Indicates that a response sample is not the last response sample for a given request. This bit is usually set by Connext Repliers sending multiple responses for a request.

◆ REPLICATE_SAMPLE

final int REPLICATE_SAMPLE
static

Indicates if a sample must be broadcast by one RTI Queuing Service replica to other replicas.

◆ LAST_SHARED_READER_QUEUE_SAMPLE

final int LAST_SHARED_READER_QUEUE_SAMPLE
static

Indicates that a sample is the last sample in a SharedReaderQueue for a QueueConsumer DataReader.

◆ INTERMEDIATE_TOPIC_QUERY_SAMPLE

final int INTERMEDIATE_TOPIC_QUERY_SAMPLE
static

Indicates that a sample for a TopicQuery will be followed by more samples.

This flag only applies to samples that have been published as a response to a com.rti.dds.subscription.TopicQuery.

When this bit is not set and com.rti.dds.subscription.SampleInfo.topic_query_guid is different from com.rti.dds.infrastructure.GUID_t.GUID_UNKNOWN, this sample is the last sample for that TopicQuery coming from the DataWriter identified by com.rti.dds.subscription.SampleInfo.original_publication_virtual_guid.

◆ WRITER_REMOVED_BATCH_SAMPLE

final int WRITER_REMOVED_BATCH_SAMPLE = (0x00000001) << 5
static

This flag will be set if the sample was accepted into the DataReader queue even though it was marked by the DataWriter as removed.

A sample can be marked as removed by the DataWriter in a batch when it is replaced due to the com.rti.dds.infrastructure.HistoryQosPolicyKind.HistoryQosPolicyKind.KEEP_LAST_HISTORY_QOS com.rti.dds.infrastructure.HistoryQosPolicy QoS or because the duration in com.rti.dds.infrastructure.LifespanQosPolicy was reached.

If the DataReader sets the property "dds.data_reader.accept_writer_removed_batch_samples" to true, the removed sample will be accepted into the DataReader queue and this flag will be set.

◆ DISCOVERY_SERVICE_SAMPLE

final int DISCOVERY_SERVICE_SAMPLE = (0x00000001) << 6
static

This flag will be set if the sample was sent by Cloud Discovery Service.

The samples sent by Cloud Discovery Service are participant announcement samples on the ParticipantBuiltinTopic.