/**
* Copyright (c) 2010-2016 by the respective copyright holders.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*/
package org.openhab.binding.denon.internal;
/**
* Callback interface to signal that new information was received.
*
* @author Jeroen Idserda
* @since 1.7.0
*/
public interface DenonUpdateReceivedCallback {
/**
* Update was received.
*
* @param command
* The line of text that was received from the telnet connection
*/
public void updateReceived(String command);
/**
* The listener has successfully connected to the receiver.
*/
public void listenerConnected();
/**
* The listener has lost connection to the receiver.
*/
public void listenerDisconnected();
}