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.knx.internal.client;
15 import java.util.Collections;
17 import org.eclipse.jdt.annotation.NonNullByDefault;
18 import org.openhab.binding.knx.internal.handler.KNXBridgeBaseThingHandler.CommandExtensionData;
19 import org.openhab.core.thing.ThingUID;
21 import tuwien.auto.calimero.KNXException;
22 import tuwien.auto.calimero.link.KNXNetworkLink;
25 * {@link AbstractKNXClient} implementation for test, using {@link DummyKNXNetworkLink}.
27 * @author Holger Friedrich - initial contribution and API.
31 public class DummyClient extends AbstractKNXClient {
33 public DummyClient() {
34 super(0, new ThingUID("dummy connection"), 0, 0, 0, null, new CommandExtensionData(Collections.emptyMap()),
39 protected KNXNetworkLink establishConnection() throws KNXException, InterruptedException {
40 return new DummyKNXNetworkLink();