public class FileRecorderSink extends java.lang.Object implements VehicleDataSink
| Constructor and Description |
|---|
FileRecorderSink(FileOpener fileOpener) |
| Modifier and Type | Method and Description |
|---|---|
void |
flush() |
void |
receive(VehicleMessage message)
Receive a data point with a name, a value and a event value.
|
void |
stop()
Release any acquired resources and either stop sending measurements (if a
source) or stop expecting to receive them (if a sink).
|
public FileRecorderSink(FileOpener fileOpener)
public void receive(VehicleMessage message) throws DataSinkException
VehicleDataSinkreceive in interface VehicleDataSinkmessage - The new measurement.DataSinkExceptionpublic void stop()
VehicleDataSinkstop in interface VehicleDataSinkpublic void flush()