Interface EventSubscriber

    • Method Detail

      • getSubscribedEventTypes

        Set<String> getSubscribedEventTypes()
        Gets the event types to which the event subscriber is subscribed to.
        subscribed event types (not null)
      • getEventFilter

        @Nullable EventFilter getEventFilter()
        Gets an EventFilter in order to receive specific events if the filter applies. If there is no filter all subscribed event types are received.
        the event filter, or null
      • receive

        void receive​(Event event)
        Callback method for receiving Events from the openHAB event bus. This method is called for every event where the event subscriber is subscribed to and the event filter applies.
        event - the received event (not null)