]> git.basschouten.com Git - openhab-addons.git/blob
bbae73c127705a4857af05b645bd574d38e8e56e
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2024 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.config;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16
17 /**
18  * IP Bridge handler configuration object.
19  *
20  * @author Simon Kaufmann - initial contribution and API
21  *
22  */
23 @NonNullByDefault
24 public class IPBridgeConfiguration extends BridgeConfiguration {
25
26     private boolean useNAT = false;
27     private String type = "";
28     private String ipAddress = "";
29     private int portNumber = 0;
30     private String localIp = "";
31     private String localSourceAddr = "";
32     private String routerBackboneKey = "";
33     private String tunnelUserId = "";
34     private String tunnelUserPassword = "";
35     private String tunnelDeviceAuthentication = "";
36
37     public Boolean getUseNAT() {
38         return useNAT;
39     }
40
41     public String getType() {
42         return type;
43     }
44
45     public String getIpAddress() {
46         return ipAddress;
47     }
48
49     public int getPortNumber() {
50         return portNumber;
51     }
52
53     public String getLocalIp() {
54         return localIp;
55     }
56
57     public String getLocalSourceAddr() {
58         return localSourceAddr;
59     }
60
61     public String getRouterBackboneKey() {
62         return routerBackboneKey;
63     }
64
65     public String getTunnelUserId() {
66         return tunnelUserId;
67     }
68
69     public String getTunnelUserPassword() {
70         return tunnelUserPassword;
71     }
72
73     public String getTunnelDeviceAuthentication() {
74         return tunnelDeviceAuthentication;
75     }
76 }