]> git.basschouten.com Git - openhab-addons.git/blob
c750280511011c6b603197c0b22458fcdb077ae7
[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  * {@link org.openhab.binding.knx.internal.handler.KNXBridgeBaseThingHandler} configuration
19  *
20  * @author Simon Kaufmann - Initial contribution
21  *
22  */
23 @NonNullByDefault
24 public class BridgeConfiguration {
25     private int autoReconnectPeriod = 0;
26     private int readingPause = 0;
27     private int readRetriesLimit = 0;
28     private int responseTimeout = 0;
29
30     public int getAutoReconnectPeriod() {
31         return autoReconnectPeriod;
32     }
33
34     public int getReadingPause() {
35         return readingPause;
36     }
37
38     public int getReadRetriesLimit() {
39         return readRetriesLimit;
40     }
41
42     public int getResponseTimeout() {
43         return responseTimeout;
44     }
45
46     public void setAutoReconnectPeriod(int period) {
47         autoReconnectPeriod = period;
48     }
49 }