equal
deleted
inserted
replaced
239 |
239 |
240 private void setConnected() throws IOException { |
240 private void setConnected() throws IOException { |
241 synchronized (stateLock) { |
241 synchronized (stateLock) { |
242 state = ST_CONNECTED; |
242 state = ST_CONNECTED; |
243 localAddress = Net.localAddress(fd); |
243 localAddress = Net.localAddress(fd); |
244 remoteAddress = pendingRemote; |
244 remoteAddress = (InetSocketAddress)pendingRemote; |
245 } |
245 } |
246 } |
246 } |
247 |
247 |
248 private void finishConnect(boolean mayInvokeDirect) { |
248 private void finishConnect(boolean mayInvokeDirect) { |
249 Throwable e = null; |
249 Throwable e = null; |