]> git.basschouten.com Git - openhab-addons.git/blob
89b8ef9b624488a94f398f90241fbee844dd66b0
[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.denonmarantz.internal.connector.telnet;
14
15 import org.openhab.binding.denonmarantz.internal.connector.DenonMarantzConnector;
16
17 /**
18  * Listener interface used to notify the {@link DenonMarantzConnector} about received messages over Telnet
19  *
20  * @author Jan-Willem Veldhuis - Initial contribution
21  *
22  */
23 public interface DenonMarantzTelnetListener {
24     /**
25      * The telnet client has received a line.
26      * 
27      * @param line the received line
28      */
29     void receivedLine(String line);
30
31     /**
32      * The telnet client has successfully connected to the receiver.
33      * 
34      * @param connected whether or not the connection was successful
35      */
36     void telnetClientConnected(boolean connected);
37 }