RTI Routing Service
Version 6.1.1
|
StreamWriter interface (optional). More...
Public Member Functions | |
int | write (List< Object > sampleList, List< Object > infoList) throws AdapterException |
Writes a collection of data samples to an output stream. More... | |
Public Member Functions inherited from Entity | |
void | update (Properties properties) throws AdapterException |
Updates the configuration of an adapter entity. More... | |
StreamWriter interface (optional).
A StreamWriter provides a way to write samples of a specific type in a data domain.
In the XML configuration file, StreamWriters are associated with the tag <output> within <route> and <auto_route>.
int write | ( | List< Object > | sampleList, |
List< Object > | infoList | ||
) | throws AdapterException |
Writes a collection of data samples to an output stream.
Required: Only when the adapter is used to write data.
sampleList | <<in>> List of samples. The data representation associated with the samples will be given by the value of the connection attribute com.rti.routingservice.adapter.data_representation_kind that is obtained using the associated com.rti.routingservice.infrastructure.StreamInfo. |
infoList | <<in>> List of samples info. The info representation associated with the sample infos will be given by the value of the connection attribute com.rti.routingservice.adapter.info_representation_kind that is obtained using the associated com.rti.routingservice.infrastructure.StreamInfo. |
AdapterException | - if an error occurs. |