Stop the server.
()
| 143 | * Stop the server. |
| 144 | */ |
| 145 | public void stop() { |
| 146 | try { |
| 147 | safeClose(myServerSocket); |
| 148 | closeAllConnections(); |
| 149 | myThread.join(); |
| 150 | } catch (Exception e) { |
| 151 | e.printStackTrace(); |
| 152 | } |
| 153 | } |
| 154 | |
| 155 | /** |
| 156 | * Registers that a new connection has been set up. |
nothing calls this directly
no test coverage detected