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 tuwien.auto.calimero.KNXException;
16 import tuwien.auto.calimero.knxnetip.KNXnetIPConnection;
17 import tuwien.auto.calimero.link.KNXNetworkLinkIP;
18 import tuwien.auto.calimero.link.medium.KNXMediumSettings;
21 * Subclass of {@link KNXNetworkLinkIP} which exposes the protected constructor in order to work-around
22 * https://github.com/calimero-project/calimero-core/issues/57
24 * @author Simon Kaufmann - initial contribution and API
27 public class CustomKNXNetworkLinkIP extends KNXNetworkLinkIP {
29 public static final int TUNNELING = KNXNetworkLinkIP.TUNNELING;
30 public static final int ROUTING = KNXNetworkLinkIP.ROUTING;
32 CustomKNXNetworkLinkIP(final int serviceMode, KNXnetIPConnection conn, KNXMediumSettings settings)
33 throws KNXException, InterruptedException {
34 super(serviceMode, conn, settings);