Stops the server. @throws IOException I/O exception
()
| 185 | * @throws IOException I/O exception |
| 186 | */ |
| 187 | public void stop() throws IOException { |
| 188 | final String host = soptions.get(StaticOptions.SERVERHOST); |
| 189 | final int stopPort = soptions.get(StaticOptions.STOPPORT); |
| 190 | if(stopPort > 0) stop(host.isEmpty() ? S_LOCALHOST : host, stopPort); |
| 191 | } |
| 192 | |
| 193 | /** |
| 194 | * Locates the specified configuration file. |
no test coverage detected