RTI Connext Java API  Version 6.1.1
SampleIdentity_t Class Reference

Type definition for a Sample Identity. More...

Inherits Struct.

Public Member Functions

 SampleIdentity_t (SampleIdentity_t other)
 Copy constructor. More...
 

Public Attributes

final GUID_t writer_guid = new GUID_t(GUID_t.GUID_AUTO)
 16-byte identifier identifying the virtual GUID. More...
 
final SequenceNumber_t sequence_number
 monotonically increasing 64-bit integer that identifies the sample in the data source. More...
 

Static Public Attributes

static final SampleIdentity_t AUTO_SAMPLE_IDENTITY
 The AUTO sample identity. More...
 
static final SampleIdentity_t UNKNOWN_SAMPLE_IDENTITY
 An invalid or unknown sample identity. More...
 

Detailed Description

Type definition for a Sample Identity.

A SampleIdentity defines a pair (Virtual Writer GUID, Sequence Number) that uniquely identifies a sample within a DDS domain and a Topic.

Constructor & Destructor Documentation

◆ SampleIdentity_t()

Member Data Documentation

◆ AUTO_SAMPLE_IDENTITY

final SampleIdentity_t AUTO_SAMPLE_IDENTITY
static

The AUTO sample identity.

Special com.rti.dds.infrastructure.SampleIdentity_t.SampleIdentity_t.AUTO_SAMPLE_IDENTITY value {com.rti.dds.infrastructure.GUID_t.GUID_AUTO, com.rti.dds.infrastructure.SequenceNumber_t.AUTO}

Referenced by WriteParams_t.copy_from(), and Requester< TReq, TRep >.sendRequest().

◆ UNKNOWN_SAMPLE_IDENTITY

final SampleIdentity_t UNKNOWN_SAMPLE_IDENTITY
static

An invalid or unknown sample identity.

Special com.rti.dds.infrastructure.SampleIdentity_t.SampleIdentity_t.UNKNOWN_SAMPLE_IDENTITY value {com.rti.dds.infrastructure.GUID_t.GUID_UNKNOWN, com.rti.dds.infrastructure.SequenceNumber_t.UNKNOWN}

◆ writer_guid

final GUID_t writer_guid = new GUID_t(GUID_t.GUID_AUTO)

16-byte identifier identifying the virtual GUID.

Referenced by Replier< TReq, TRep >.createRequestSample(), and SampleIdentity_t.SampleIdentity_t().

◆ sequence_number

final SequenceNumber_t sequence_number
Initial value:
=
new SequenceNumber_t(SequenceNumber_t.AUTO_SEQUENCE_NUMBER)

monotonically increasing 64-bit integer that identifies the sample in the data source.

Referenced by Replier< TReq, TRep >.createRequestSample(), Requester< TReq, TRep >.readReplies(), Requester< TReq, TRep >.readReply(), SampleIdentity_t.SampleIdentity_t(), Requester< TReq, TRep >.takeReplies(), Requester< TReq, TRep >.takeReply(), and Requester< TReq, TRep >.waitForReplies().