--- projects/cms/source/conient/uk/org/iscream/cms/conient/Configuration.java 2001/02/04 23:45:10 1.3 +++ projects/cms/source/conient/uk/org/iscream/cms/conient/Configuration.java 2001/02/16 16:24:08 1.4 @@ -11,7 +11,7 @@ import java.io.*; * This class is a Singleton class and * * @author $Author: ajm $ - * @version $Id: Configuration.java,v 1.3 2001/02/04 23:45:10 ajm Exp $ + * @version $Id: Configuration.java,v 1.4 2001/02/16 16:24:08 ajm Exp $ */ public class Configuration { @@ -20,7 +20,7 @@ public class Configuration { /** * The current CVS revision of this class */ - public static final String REVISION = "$Revision: 1.3 $"; + public static final String REVISION = "$Revision: 1.4 $"; //---STATIC METHODS--- @@ -75,6 +75,21 @@ public class Configuration { //---PUBLIC METHODS--- + /** + * This routine asks the server for all configuration + * options that are needed to be obtained from the + * server. It takes hooks to the I/O streams for the + * control link socket in order that it can request + * the attributes. It is assumed that the connection + * has been negotiated to a stage that the server is + * ready to server attributes. Once this method returns + * the calling class should tell the server that configuration + * has terminated. + * + * @param in the input stream of the control link + * @param out the output stream of the control link + * @throws IOException if there is an error communicating + */ public void readServerConfiguration(BufferedReader in, PrintWriter out) throws IOException { String response = null; out.println("Host.UDPUpdateTime"); @@ -93,6 +108,19 @@ public class Configuration { } } + /** + * Tells the configuration class that it should + * perform user re-configuration through displaying + * a gui. This passes control to a dialog to + * handle re-configuration. Basically this is + * the nicer alternative to hacking the config + * file. + * The ConientConfiguration class is responsible + * for handling the re-configuration. + */ + public void GUIReconfiguration() { + //ConientConfiguration conf = new ConientConfiguration(); + } //---PRIVATE METHODS--- /**