2 * Copyright (c) 2010-2023 Contributors to the openHAB project
4 * See the NOTICE file(s) distributed with this work for additional
7 * This program and the accompanying materials are made available under the
8 * terms of the Eclipse Public License 2.0 which is available at
9 * http://www.eclipse.org/legal/epl-2.0
11 * SPDX-License-Identifier: EPL-2.0
13 package org.openhab.binding.nikohomecontrol.internal.protocol;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
18 * The {@link NhcActionEvent} interface is used to pass action events received from the Niko Home Control controller to
19 * the consuming client. It is designed to pass events to openHAB handlers that implement this interface. Because of
20 * the design, the org.openhab.binding.nikohomecontrol.internal.protocol package can be extracted and used independent
23 * @author Mark Herwege - Initial Contribution
26 public interface NhcActionEvent {
29 * This method is called when an action event is received from the Niko Home Control controller.
33 public void actionEvent(int state);
36 * Called to indicate the action has been initialized.
39 public void actionInitialized();
42 * Called to indicate the action has been removed from the Niko Home Control controller.
45 public void actionRemoved();