RTI Connext Java API
Version 6.0.0
|
Sample base type that contains data and has an identity. More...
Public Member Functions | |
T | getData () |
Gets the data this sample contains. | |
SampleIdentity_t | getIdentity () |
Gets the identity of this sample. | |
![]() | |
Object | copy_from (Object src) |
Copy value of a data type from source. | |
Sample base type that contains data and has an identity.
This is the base interface for samples received by the middleware (com.rti.connext.infrastructure.Sample<T>) and samples used to write (com.rti.connext.infrastructure.WriteSample<T>)
T | The data type that this sample contains |
T getData | ( | ) |
Gets the data this sample contains.
SampleIdentity_t getIdentity | ( | ) |
Gets the identity of this sample.
The identity is assigned by the middleware upon reception.