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.knx.internal.client;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
17 import tuwien.auto.calimero.GroupAddress;
18 import tuwien.auto.calimero.IndividualAddress;
21 * Callback interface for KNX bus messages
23 * @author Simon Kaufmann - Initial contribution and API
26 public interface BusMessageListener {
29 * Called when the KNX bridge receives a group write telegram
35 public void onGroupWrite(AbstractKNXClient client, IndividualAddress source, GroupAddress destination, byte[] asdu);
38 * Called when the KNX bridge receives a group read telegram
44 public void onGroupRead(AbstractKNXClient client, IndividualAddress source, GroupAddress destination, byte[] asdu);
47 * Called when the KNX bridge receives a group read response telegram
53 public void onGroupReadResponse(AbstractKNXClient client, IndividualAddress source, GroupAddress destination,