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.denonmarantz.internal.connector.telnet;
16 * Listener interface used to notify the
17 * {@link org.openhab.binding.denonmarantz.internal.connector.DenonMarantzConnector} about received messages over Telnet
19 * @author Jan-Willem Veldhuis - Initial contribution
22 public interface DenonMarantzTelnetListener {
24 * The telnet client has received a line.
26 * @param line the received line
28 void receivedLine(String line);
31 * The telnet client has successfully connected to the receiver.
33 * @param connected whether or not the connection was successful
35 void telnetClientConnected(boolean connected);