/*
* Copyright 1999-2004 Carnegie Mellon University.
* Portions Copyright 2004 Sun Microsystems, Inc.
* Portions Copyright 2004 Mitsubishi Electric Research Laboratories.
* All Rights Reserved. Use is subject to license terms.
*
* See the file "license.terms" for information on usage and
* redistribution of this file, and for a DISCLAIMER OF ALL
* WARRANTIES.
*
*/
package edu.cmu.sphinx.decoder;
import edu.cmu.sphinx.util.props.Configurable;
/**
* Some API-elements shared by components which are able to produce <code>Result</code>s.
*
* @see edu.cmu.sphinx.result.Result
*/
public interface ResultProducer extends Configurable {
/** Registers a new listener for <code>Result</code>.
* @param resultListener listener to add
*/
void addResultListener(ResultListener resultListener);
/** Removes a listener from this <code>ResultProducer</code>-instance.
* @param resultListener listener to remove
*/
void removeResultListener(ResultListener resultListener);
}