|
RTI Connext Java API
Version 6.0.1
|
A data sample and related info received from the middleware. More...
Classes | |
| interface | Iterator< T > |
| Provides access to a collection of middleware-loaned samples. More... | |
Public Member Functions | |
| SampleInfo | getInfo () |
| Gets the sample information. | |
| SampleIdentity_t | getRelatedIdentity () |
| Gets the identity of a sample that is related to this one. | |
Public Member Functions inherited from SampleData< T > | |
| T | getData () |
| Gets the data this sample contains. | |
| SampleIdentity_t | getIdentity () |
| Gets the identity of this sample. | |
Public Member Functions inherited from Copyable | |
| Object | copy_from (Object src) |
| Copy value of a data type from source. | |
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.