package com.openxc.sources;

import com.openxc.remote.RawMeasurement;

/**
 * TODO
 */
public class ApplicationSource extends BaseVehicleDataSource {
    public void handleMessage(String measurementId,
            RawMeasurement measurement) {
        handleMessage(measurementId, measurement.getValue(),
                measurement.getEvent());
    }
}

@@ -75,79 +75,578 @@
 %0A * 
-TODO%0A */%0Apublic class ApplicationSource extends BaseVehicleDataSource %7B
+A %22reverse%22 source to pass externally generated measurements to the callback.%0A *%0A * This class is used by the %7B@link com.openxc.remote.RemoteVehicleService%7D to%0A * pass measurements received from applications (e.g. from a trace file source%0A * in an app) into the normal measurement workflow.%0A */%0Apublic class ApplicationSource extends BaseVehicleDataSource %7B%0A    /**%0A     * Pass a raw measurement received from an external caller to the callback.%0A     *%0A     * Note that this method is public - users of this class can directly force%0A     * it to send new values.%0A     */
 %0A   

Document ApplicationSource.