]> git.basschouten.com Git - openhab-addons.git/blob
5394fc84729ef572056401731a97a642755e81e5
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2023 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.milight.internal.discovery;
14
15 import java.net.InetAddress;
16
17 import org.eclipse.jdt.annotation.NonNullByDefault;
18
19 /**
20  * Result callback interface.
21  *
22  * @author David Graeff - Initial contribution
23  */
24 @NonNullByDefault
25 public interface DiscoveryResultListener {
26     /**
27      * A Milight bridge got detected
28      *
29      * @param addr The IP address
30      * @param id The bridge ID
31      * @param version The bridge version (either 3 or 6)
32      */
33     void bridgeDetected(InetAddress addr, String id, int version);
34 }