java.lang.Object
org.openremote.agent.protocol.tradfri.device.event.EventHandler<T>

public abstract class EventHandler<T> extends Object
The class that handles events for IKEA TRÅDFRI devices
  • Constructor Details

    • EventHandler

      public EventHandler()
      Construct the EventHandler class
  • Method Details

    • handle

      public abstract void handle(T event)
      Handle the event
      Parameters:
      event - The event that occurred
    • getEventType

      public Class<T> getEventType()
      Get the class of the event that this event handler handles
      Returns:
      The class of the event that this event handler handles