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).
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic FileRecorderSink(FileOpener fileOpener)
public void receive(VehicleMessage message) throws DataSinkException
VehicleDataSink receive in interface VehicleDataSink message - The new measurement.DataSinkException public void stop()
VehicleDataSink stop in interface VehicleDataSink public void flush()