]> git.basschouten.com Git - openhab-addons.git/blob
fbca049806ede2c6c7156c1095901a2c29d16503
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2020 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.io.openhabcloud.internal;
14
15 /**
16  * This interface provides callbacks from CloudClient
17  *
18  * @author Victor Belov - Initial contribution
19  * @author Kai Kreuzer - migrated code to ESH APIs
20  *
21  */
22
23 public interface CloudClientListener {
24     /**
25      * This method receives command for an item from the openHAB Cloud client and should post it
26      * into openHAB
27      *
28      * @param item the {@link String} containing item name
29      * @param command the {@link String} containing a command
30      */
31     public void sendCommand(String item, String command);
32 }