|
RTI Connext Java API Version 7.6.0
|
Type definition for an instance handle. More...
Public Member Functions | |
| InstanceHandle_t () | |
| InstanceHandle_t (InstanceHandle_t src) | |
| boolean | is_nil () |
| Compare this handle to com.rti.dds.infrastructure.InstanceHandle_t.HANDLE_NIL. More... | |
| Object | copy_from (Object src) |
| Copy value of a data type from source. More... | |
| boolean | equals (Object other) |
| Compares this instance handle with another handle for equality. More... | |
| int | compare (InstanceHandle_t other) |
| Compares this instance handle with another handle. More... | |
| Object | copy_from (Object src) |
| Copy value of a data type from source. More... | |
Static Public Attributes | |
| static final InstanceHandle_t | HANDLE_NIL |
| The NIL instance handle. More... | |
Type definition for an instance handle.
Handle to identify different instances of the same com.rti.dds.topic.Topic of a certain type.
| InstanceHandle_t | ( | ) |
Construct a new instance handle equal to the nil handle.
Referenced by InstanceHandle_t.copy_from(), and InstanceHandle_t.equals().
| InstanceHandle_t | ( | InstanceHandle_t | src | ) |
Construct a new instance handle equal to the given handle.
| NullPointerException | if src is null |
References InstanceHandle_t.copy_from().
| boolean is_nil | ( | ) |
Compare this handle to com.rti.dds.infrastructure.InstanceHandle_t.HANDLE_NIL.
| 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.
| src | <<in>> The Object which contains the data to be copied. |
| NullPointerException | If src is null. |
| ClassCastException | If src is not the same type as this. |
Implements Copyable.
References InstanceHandle_t.InstanceHandle_t().
Referenced by SampleInfo.copy_from(), WriteParams_t.copy_from(), InstanceHandle_t.InstanceHandle_t(), and WriteParams_t.WriteParams_t().
| boolean equals | ( | Object | other | ) |
Compares this instance handle with another handle for equality.
| other | <<in>> The other handle to be compared with this handle. Cannot be null. |
References InstanceHandle_t.equals(), and InstanceHandle_t.InstanceHandle_t().
Referenced by InstanceHandle_t.equals(), and WriteParams_t.WriteParams_t().
| int compare | ( | InstanceHandle_t | other | ) |
Compares this instance handle with another handle.
| other | <<in>> The other handle to be compared with this handle. Cannot be null. |
|
static |
The NIL instance handle.
Special com.rti.dds.infrastructure.InstanceHandle_t value
Referenced by InstanceHandleSeq.fill(), DynamicDataWriter.lookup_instance(), DynamicDataWriter.register_instance(), DynamicDataWriter.register_instance_w_timestamp(), and WriteParams_t.WriteParams_t().