75 |
|
|
76 |
|
//---PUBLIC METHODS--- |
77 |
|
|
78 |
+ |
/** |
79 |
+ |
* This routine asks the server for all configuration |
80 |
+ |
* options that are needed to be obtained from the |
81 |
+ |
* server. It takes hooks to the I/O streams for the |
82 |
+ |
* control link socket in order that it can request |
83 |
+ |
* the attributes. It is assumed that the connection |
84 |
+ |
* has been negotiated to a stage that the server is |
85 |
+ |
* ready to server attributes. Once this method returns |
86 |
+ |
* the calling class should tell the server that configuration |
87 |
+ |
* has terminated. |
88 |
+ |
* |
89 |
+ |
* @param in the input stream of the control link |
90 |
+ |
* @param out the output stream of the control link |
91 |
+ |
* @throws IOException if there is an error communicating |
92 |
+ |
*/ |
93 |
|
public void readServerConfiguration(BufferedReader in, PrintWriter out) throws IOException { |
94 |
|
String response = null; |
95 |
|
out.println("Host.UDPUpdateTime"); |
108 |
|
} |
109 |
|
} |
110 |
|
|
111 |
+ |
/** |
112 |
+ |
* Tells the configuration class that it should |
113 |
+ |
* perform user re-configuration through displaying |
114 |
+ |
* a gui. This passes control to a dialog to |
115 |
+ |
* handle re-configuration. Basically this is |
116 |
+ |
* the nicer alternative to hacking the config |
117 |
+ |
* file. |
118 |
+ |
* The ConientConfiguration class is responsible |
119 |
+ |
* for handling the re-configuration. |
120 |
+ |
*/ |
121 |
+ |
public void GUIReconfiguration() { |
122 |
+ |
//ConientConfiguration conf = new ConientConfiguration(); |
123 |
+ |
} |
124 |
|
//---PRIVATE METHODS--- |
125 |
|
|
126 |
|
/** |