public interface VehicleDataSink
DataPipelineis given new measurements via the receive methods. Data sinks are registered with a
VehicleServicereceive all raw messages from the vehicle data sources as they arrive without having to explicitly register for asynchronous updates on specific measurements. Common applications of this class are trace file recording, web streaming or custom CAN message handling.
|Modifier and Type||Method and Description|
Receive a data point with a name, a value and a event value.
Release any acquired resources and either stop sending measurements (if a source) or stop expecting to receive them (if a sink).
void receive(VehicleMessage measurement) throws DataSinkException
measurement- The new measurement.