package net.woodyfolsom.msproj;

public class GtpClient {

	/**
	 * Create a new GTP Client.
	 * 
	 * @param in
	 *            An input stream that will give us any responses from the
	 *            engine.
	 * @param out
	 *            An output stream that will go to the engine with our commands.
	 * @param args
	 *            Our options.
	 */
	public GtpClient(java.io.InputStream in, java.io.OutputStream out,
			Options options) {
	}

	/**
	 * Connect to the server and operate the GTP interface.
	 * 
	 * @return <code>true</code> on success, <code>false</code> if we were
	 *         unable to do what was requested.
	 */
	public boolean go() {
		return false;
	}
}

class Options {

	/**
	 * Construct a new set of options for the kgsGtp client by pulling values
	 * out of a set of properties. Any values that we use will be removed from
	 * the properties, so anything left over is unused.
	 * 
	 * @param props
	 *            The properties that holds our options as string values.
	 * @param logName
	 *            The name of the java logger that we will construct.
	 * @throws IllegalArgumentException
	 *             If any required values are missing or if any illegal values
	 *             are detected.
	 */
	public Options(java.util.Properties props, String logName) {
	}
}
