]> git.basschouten.com Git - openhab-addons.git/blob
b8dd9d918a8c179668db32e75a3d033d4b59957f
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2021 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.shelly.internal.handler;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.eclipse.jetty.client.HttpClient;
17 import org.openhab.binding.shelly.internal.coap.ShellyCoapServer;
18 import org.openhab.binding.shelly.internal.config.ShellyBindingConfiguration;
19 import org.openhab.binding.shelly.internal.util.ShellyTranslationProvider;
20 import org.openhab.core.thing.Thing;
21 import org.slf4j.Logger;
22 import org.slf4j.LoggerFactory;
23
24 /**
25  * The {@link ShellyProtectedHandler} implements a dummy handler for password protected devices.
26  *
27  * @author Markus Michels - Initial contribution
28  */
29 @NonNullByDefault
30 public class ShellyProtectedHandler extends ShellyBaseHandler {
31     private final Logger logger = LoggerFactory.getLogger(ShellyProtectedHandler.class);
32
33     /**
34      * Constructor
35      *
36      * @param thing The thing passed by the HandlerFactory
37      * @param bindingConfig configuration of the binding
38      * @param coapServer coap server instance
39      * @param localIP local IP of the openHAB host
40      * @param httpPort port of the openHAB HTTP API
41      */
42     public ShellyProtectedHandler(final Thing thing, final ShellyTranslationProvider translationProvider,
43             final ShellyBindingConfiguration bindingConfig, final ShellyCoapServer coapServer, final String localIP,
44             int httpPort, final HttpClient httpClient) {
45         super(thing, translationProvider, bindingConfig, coapServer, localIP, httpPort, httpClient);
46     }
47
48     @Override
49     public void initialize() {
50         super.initialize();
51     }
52 }