2 * Copyright (c) 2010-2024 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.Project;
23 import org.openhab.binding.lutron.internal.protocol.leap.dto.ZoneStatus;
26 * Interface defining callback routines used by LeapMessageParser
28 * @author Bob Adair - Initial contribution
31 public interface LeapMessageParserCallbacks {
33 void handleProjectDefinition(Project project);
35 void handleDeviceDefinition(Device device);
37 void validMessageReceived(String communiqueType);
39 void handleEmptyButtonGroupDefinition();
41 void handleZoneUpdate(ZoneStatus zoneStatus);
43 void handleGroupUpdate(int groupNumber, String occupancyStatus);
45 void handleMultipleButtonGroupDefinition(List<ButtonGroup> buttonGroupList);
47 void handleMultipleDeviceDefinition(List<Device> deviceList);
49 void handleMultipleAreaDefinition(List<Area> areaList);
51 void handleMultipleOccupancyGroupDefinition(List<OccupancyGroup> oGroupList);