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.knx.internal.client;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.eclipse.jdt.annotation.Nullable;
17 import org.openhab.binding.knx.internal.handler.GroupAddressListener;
19 import tuwien.auto.calimero.IndividualAddress;
20 import tuwien.auto.calimero.KNXException;
21 import tuwien.auto.calimero.datapoint.Datapoint;
25 * @author Simon Kaufmann - initial contribution and API
29 public class NoOpClient implements KNXClient {
32 public boolean isConnected() {
37 public boolean isReachable(@Nullable IndividualAddress address) throws KNXException {
42 public DeviceInfoClient getDeviceInfoClient() {
43 throw new IllegalStateException("KNX client not properly configured");
47 public void restartNetworkDevice(@Nullable IndividualAddress address) {
48 throw new IllegalStateException("KNX client not properly configured");
52 public boolean registerGroupAddressListener(GroupAddressListener listener) {
57 public boolean unregisterGroupAddressListener(GroupAddressListener listener) {
62 public void readDatapoint(Datapoint datapoint) {
66 public void writeToKNX(OutboundSpec commandSpec) throws KNXException {
70 public void respondToKNX(OutboundSpec responseSpec) throws KNXException {