RTI Connext Java API
Version 6.1.2
|
A data sample and related info received from the middleware. More...
Classes | |
interface | Iterator |
Provides access to a collection of middleware-loaned samples. More... | |
Public Member Functions | |
SampleInfo | getInfo () |
Gets the sample information. More... | |
SampleIdentity_t | getRelatedIdentity () |
Gets the identity of a sample that is related to this one. More... | |
![]() | |
T | getData () |
Gets the data this sample contains. More... | |
SampleIdentity_t | getIdentity () |
Gets the identity of this sample. More... | |
![]() | |
Object | copy_from (Object src) |
Copy value of a data type from source. More... | |
A data sample and related info received from the middleware.
Samples contain data received from the middleware and information associated to the data.
T | The data type that this sample contains |
SampleInfo getInfo | ( | ) |
Gets the sample information.
SampleIdentity_t getRelatedIdentity | ( | ) |
Gets the identity of a sample that is related to this one.
When a com.rti.connext.requestreply.Requester<TReq,TRep> receives a reply, the reply Sample contains the identity of the related request.