java.lang.Object
pt.unl.fct.di.tardis.babel.iot.controlprotocols.listeners.IoTListener<R,T>
All Implemented Interfaces:
Runnable
Direct Known Subclasses:
GestureListener

public class IoTListener<R,T> extends Object implements Runnable
  • Field Details

    • device

      protected final R device
    • threshold

      protected final Threshold<T> threshold
    • callback

      protected final Consumer<T> callback
  • Constructor Details

  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable
    • getDevice

      public R getDevice()
    • getThreshold

      public Threshold<T> getThreshold()