()
| 64 | } |
| 65 | |
| 66 | @Override |
| 67 | public synchronized void close() throws IOException { |
| 68 | if (closed) { |
| 69 | return; |
| 70 | } |
| 71 | if (!inputShutdown) { |
| 72 | shutdownInput(); |
| 73 | } |
| 74 | if (!outputShutdown) { |
| 75 | shutdownOutput(); |
| 76 | } |
| 77 | localSocket.close(); |
| 78 | closed = true; |
| 79 | } |
| 80 | |
| 81 | @Override |
| 82 | public void connect(SocketAddress endpoint) throws IOException { |
nothing calls this directly
no test coverage detected