]> git.basschouten.com Git - openhab-addons.git/blob
7db1a0dbcf07f8a777ddba4d4a1eb616d66fdbe7
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2022 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.irtrans.internal.handler;
14
15 import org.openhab.binding.irtrans.internal.IrCommand;
16
17 /**
18  * The {@link TransceiverStatusListener} is interface that is to be implemented
19  * by all classes that wish to be informed of events happening to an infrared
20  * transceiver
21  *
22  * @author Karel Goderis - Initial contribution
23  *
24  */
25 public interface TransceiverStatusListener {
26
27     /**
28      *
29      * Called when the ethernet transceiver/bridge receives an infrared command
30      *
31      * @param bridge
32      * @param command the infrared command
33      */
34     public void onCommandReceived(EthernetBridgeHandler bridge, IrCommand command);
35 }