Interface TimeSeriesListener


@NonNullByDefault public interface TimeSeriesListener

This interface must be implemented by all classes that want to be notified about |@link TimeSeries} updates of an item.

The GenericItem class provides the possibility to register such listeners.

Author:
Jan N. Klug - Initial contribution
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    timeSeriesUpdated(Item item, TimeSeries timeSeries)
    This method is called, if a time series update was sent to the item.
  • Method Details

    • timeSeriesUpdated

      void timeSeriesUpdated(Item item, TimeSeries timeSeries)
      This method is called, if a time series update was sent to the item.
      Parameters:
      item - the item the timeseries was updated for
      timeSeries - the time series