]> git.basschouten.com Git - openhab-addons.git/blob
e67fe9bef928e2b323b73cbf760fc2b38bd8d528
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2023 Contributors to the openHAB project
3  *
4  * See the NOTICE file(s) distributed with this work for additional
5  * information.
6  *
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
10  *
11  * SPDX-License-Identifier: EPL-2.0
12  */
13 package org.openhab.binding.lutron.internal.protocol.leap;
14
15 import java.util.List;
16
17 import org.eclipse.jdt.annotation.NonNullByDefault;
18 import org.openhab.binding.lutron.internal.protocol.leap.dto.Area;
19 import org.openhab.binding.lutron.internal.protocol.leap.dto.ButtonGroup;
20 import org.openhab.binding.lutron.internal.protocol.leap.dto.Device;
21 import org.openhab.binding.lutron.internal.protocol.leap.dto.OccupancyGroup;
22 import org.openhab.binding.lutron.internal.protocol.leap.dto.ZoneStatus;
23
24 /**
25  * Interface defining callback routines used by LeapMessageParser
26  *
27  * @author Bob Adair - Initial contribution
28  */
29 @NonNullByDefault
30 public interface LeapMessageParserCallbacks {
31
32     public void validMessageReceived(String communiqueType);
33
34     public void handleEmptyButtonGroupDefinition();
35
36     public void handleZoneUpdate(ZoneStatus zoneStatus);
37
38     public void handleGroupUpdate(int groupNumber, String occupancyStatus);
39
40     public void handleMultipleButtonGroupDefinition(List<ButtonGroup> buttonGroupList);
41
42     public void handleMultipleDeviceDefintion(List<Device> deviceList);
43
44     public void handleMultipleAreaDefinition(List<Area> areaList);
45
46     public void handleMultipleOccupancyGroupDefinition(List<OccupancyGroup> oGroupList);
47 }