Interface DeviceTelemetryService

All Known Implementing Classes:
DeviceTelemetryServiceMain

public interface DeviceTelemetryService
  • Method Details

    • save

      DeviceTelemetryDTO save(String owner, DeviceTelemetryDTO deviceTelemetryDTO)
      Saves the provided telemetry data for the specified owner.
      Parameters:
      owner - the owner of the telemetry data
      deviceTelemetryDTO - the telemetry data to be saved
      Returns:
      the saved DeviceTelemetryDTO
    • findMostRecentRecordForEachDevice

      List<DeviceTelemetryDTO> findMostRecentRecordForEachDevice()
      Finds the most recent telemetry data record for each device present in the database.
      Returns:
      list of telemetry data records containing the latest record for each device