
/*
 * Copyright 1999-2002 Carnegie Mellon University.  
 * Portions Copyright 2002 Sun Microsystems, Inc.  
 * Portions Copyright 2002 Mitsubishi Electronic 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.result;

import edu.cmu.sphinx.result.Result;

/**
 *  The listener interface for being informed when new results are
 *  generated.
 */
public interface ResultListener {
    /**
     * Method called when a new result is generated
     *
     * @param result the new result
     *
     */
     public void newResult(Result result);
}



/*
 * Copyright 1999-2002 Carnegie Mellon University.  
 * Portions Copyright 2002 Sun Microsystems, Inc.  
 * Portions Copyright 2002 Mitsubishi Electronic 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.result;

import java.util.EventListener;

/**
 *  The listener interface for being informed when new results are
 *  generated.
 */
public interface ResultListener extends EventListener {
    /**
     * Method called when a new result is generated
     *
     * @param result the new result
     *
     */
     public void newResult(Result result);
}


Clean up of inports ResultListener now extends the EventListener