2 * Copyright (c) 2010-2022 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.qolsysiq.internal.client;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.openhab.binding.qolsysiq.internal.client.dto.event.AlarmEvent;
17 import org.openhab.binding.qolsysiq.internal.client.dto.event.ArmingEvent;
18 import org.openhab.binding.qolsysiq.internal.client.dto.event.ErrorEvent;
19 import org.openhab.binding.qolsysiq.internal.client.dto.event.SecureArmInfoEvent;
20 import org.openhab.binding.qolsysiq.internal.client.dto.event.SummaryInfoEvent;
21 import org.openhab.binding.qolsysiq.internal.client.dto.event.ZoneActiveEvent;
22 import org.openhab.binding.qolsysiq.internal.client.dto.event.ZoneAddEvent;
23 import org.openhab.binding.qolsysiq.internal.client.dto.event.ZoneUpdateEvent;
27 * @author Dan Cunningham - Initial contribution
30 public interface QolsysIQClientListener {
32 * Callback when the connection has been disconnected
36 void disconnected(Exception reason);
39 * {@link AlarmEvent} message callback
43 void alarmEvent(AlarmEvent event);
46 * {@link ArmingEvent} message callback
50 void armingEvent(ArmingEvent event);
53 * {@link ErrorEvent} message callback
57 void errorEvent(ErrorEvent event);
60 * {@link SummaryInfoEvent} message callback
64 void summaryInfoEvent(SummaryInfoEvent event);
67 * {@link SecureArmInfoEvent} message callback
71 void secureArmInfoEvent(SecureArmInfoEvent event);
74 * {@link ZoneActiveEvent} message callback
78 void zoneActiveEvent(ZoneActiveEvent event);
81 * {@link ZoneUpdateEvent} message callback
85 void zoneUpdateEvent(ZoneUpdateEvent event);
88 * {@link ZoneAddEvent} message callback
92 void zoneAddEvent(ZoneAddEvent event);