// Copyright 2002, FreeHEP.
package org.freehep.util.io;

import java.io.*;

/**
 * Listener to inform that Prompt of the PromptInputStream has been found.
 *
 * @author Mark Donszelmann
 * @version $Id: PromptListener.java,v 1.1.1.1 2004/05/31 05:08:49 kuromaru Exp $
 */
public interface PromptListener {

    /**
     * Prompt was found, and can now be read.
     */
    public void promptFound(RoutedInputStream.Route route) throws IOException;
}
