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.lutron.internal.protocol.leap;
15 import java.util.List;
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;
25 * Interface defining callback routines used by LeapMessageParser
27 * @author Bob Adair - Initial contribution
30 public interface LeapMessageParserCallbacks {
32 public void validMessageReceived(String communiqueType);
34 public void handleEmptyButtonGroupDefinition();
36 public void handleZoneUpdate(ZoneStatus zoneStatus);
38 public void handleGroupUpdate(int groupNumber, String occupancyStatus);
40 public void handleMultipleButtonGroupDefinition(List<ButtonGroup> buttonGroupList);
42 public void handleMultipleDeviceDefintion(List<Device> deviceList);
44 public void handleMultipleAreaDefinition(List<Area> areaList);
46 public void handleMultipleOccupancyGroupDefinition(List<OccupancyGroup> oGroupList);