RTI Connext Java API  Version 6.1.2

Type for GUID (Global Unique Identifier) representation. More...

Inheritance diagram for GUID_t:
Copyable

Public Member Functions

 GUID_t (GUID_t guid)
 Copy constructor. More...
 
 GUID_t (byte[] value)
 Constructor. More...
 
Object copy_from (Object src)
 Copy value of a data type from source. More...
 

Public Attributes

byte [] value = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}
 A 16 byte array containing the GUID value. More...
 

Static Public Attributes

static final GUID_t GUID_UNKNOWN
 Unknown GUID. More...
 
static final GUID_t GUID_AUTO
 Indicates that RTI Connext should choose an appropriate virtual GUID. More...
 
static final GUID_t GUID_ZERO
 Zero GUID. More...
 

Detailed Description

Type for GUID (Global Unique Identifier) representation.

Represents a 128 bit GUID.

Constructor & Destructor Documentation

◆ GUID_t() [1/2]

GUID_t ( GUID_t  guid)

Copy constructor.

Parameters
guidThe GUID instance to copy. It must not be null.

References GUID_t.value.

◆ GUID_t() [2/2]

GUID_t ( byte []  value)

Constructor.

Parameters
valueGUID value as a 16 byte array. It must not be null.

References GUID_t.value.

Member Function Documentation

◆ copy_from()

Object copy_from ( Object  src)

Copy value of a data type from source.

Copy data into this object from another. This copy is intended to be a deep copy, so that all data members (recursively) are copied (not just resetting Object references).

This operation returns the object that is copied if copy is successful.

Parameters
src<<in>> The Object which contains the data to be copied.
Returns
Generally, return this but special cases (such as Enum) exist.
Exceptions
NullPointerExceptionIf src is null.
ClassCastExceptionIf src is not the same type as this.

Implements Copyable.

References GUID_t.value.

Member Data Documentation

◆ GUID_UNKNOWN

final GUID_t GUID_UNKNOWN
static

◆ GUID_AUTO

final GUID_t GUID_AUTO
static
Initial value:
=
new GUID_t(new byte[]{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0})

Indicates that RTI Connext should choose an appropriate virtual GUID.

If this special value is assigned to com.rti.dds.infrastructure.DataWriterProtocolQosPolicy.virtual_guid or com.rti.dds.infrastructure.DataReaderProtocolQosPolicy.virtual_guid, RTI Connext will assign the virtual GUID automatically based on the RTPS or physical GUID.

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

◆ GUID_ZERO

final GUID_t GUID_ZERO
static

Zero GUID.

◆ value

byte [] value = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}

A 16 byte array containing the GUID value.

Referenced by GUID_t.copy_from(), BuiltinTopicKey_t.from_guid(), GUID_t.GUID_t(), and BuiltinTopicKey_t.to_guid().