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