]> git.basschouten.com Git - openhab-addons.git/blob
f9359b918305fe9219e98fa73deb36bf10e52934
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2022 Contributors to the openHAB project
3  *
4  * See the NOTICE file(s) distributed with this work for additional
5  * information.
6  *
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
10  *
11  * SPDX-License-Identifier: EPL-2.0
12  */
13 package org.openhab.binding.knx.internal.client;
14
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;
19
20 /**
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
23  *
24  * @author Simon Kaufmann - initial contribution and API
25  *
26  */
27 public class CustomKNXNetworkLinkIP extends KNXNetworkLinkIP {
28
29     public static final int TUNNELING = KNXNetworkLinkIP.TUNNELING;
30     public static final int ROUTING = KNXNetworkLinkIP.ROUTING;
31
32     CustomKNXNetworkLinkIP(final int serviceMode, KNXnetIPConnection conn, KNXMediumSettings settings)
33             throws KNXException, InterruptedException {
34         super(serviceMode, conn, settings);
35     }
36 }