|
RTI Connext Java API
Version 6.0.1
|
A sample for writing data. More...
Public Member Functions | |
| WriteParams_t | getInfo () |
| Gets the write parameters. | |
| void | setInfo (WriteParams_t info) |
| Replaces the parameters with a new value. | |
| void | setData (T data) |
| Sets the data to be written. | |
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 sample for writing data.
WriteSamples are value types containing data that can be sent and optional parameters that configure how the data is written.
| T | The data type that this sample contains |
| WriteParams_t getInfo | ( | ) |
Gets the write parameters.
The parameters are input and output to write operations. They can be set to configure the write operation (e.g. setting a specific publication timestamp) or they can be looked up afterward (e.g. what was the actual timestamp the sample was written with).
| void setInfo | ( | WriteParams_t | info | ) |
Replaces the parameters with a new value.
| void setData | ( | T | data | ) |
Sets the data to be written.
Replaces the current data with a new element.
| data | The new data |