Interface MultiDatumDataSource

All Superinterfaces:
DeviceInfoProvider, net.solarnetwork.service.Identifiable
All Known Implementing Classes:
LocationDatumDataSource

public interface MultiDatumDataSource extends net.solarnetwork.service.Identifiable, DeviceInfoProvider
API for collecting multiple NodeDatum objects from some device.
Version:
2.0
Author:
matt
  • Method Details

    • getMultiDatumType

      Class<? extends NodeDatum> getMultiDatumType()
      Get the class supported by this DataSource.
      Returns:
      class
    • readMultipleDatum

      Collection<NodeDatum> readMultipleDatum()
      Read multiple values from the data source, returning as a collection of unpersisted NodeDatum objects.
      Returns:
      Datum