2 * Copyright (c) 2010-2023 Contributors to the openHAB project
4 * See the NOTICE file(s) distributed with this work for additional
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
11 * SPDX-License-Identifier: EPL-2.0
13 package org.openhab.binding.irtrans.internal.handler;
15 import org.openhab.binding.irtrans.internal.IrCommand;
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
22 * @author Karel Goderis - Initial contribution
25 public interface TransceiverStatusListener {
29 * Called when the ethernet transceiver/bridge receives an infrared command
32 * @param command the infrared command
34 void onCommandReceived(EthernetBridgeHandler bridge, IrCommand command);