@Override public void close() { if (_open.compareAndSet(true, false)) { super.close(); _selector.destroyEndPoint(this); } }
@Override public void close() { if (_open.compareAndSet(true, false)) { super.close(); _selector.destroyEndPoint(this); } }
protected void shutdownInput() { LOG.debug("ishut {}", this); _ishut=true; if (_oshut) close(); }
@Override public void close() { if (_open.compareAndSet(true, false)) { super.close(); _selector.destroyEndPoint(this); } }
@Override public void close() { try { ChannelEndPoint.this.close(); } catch (Throwable x) { LOG.warn(x); } } }
protected void shutdownInput() { LOG.debug("ishut {}", this); _ishut=true; if (_oshut) close(); }
@Override public void close() { if (_open.compareAndSet(true, false)) { super.close(); _selector.destroyEndPoint(this); } }
@Override public void close() { try { ChannelEndPoint.this.close(); } catch (Throwable x) { LOG.warn(x); } } }
protected void shutdownInput() { if (LOG.isDebugEnabled()) LOG.debug("ishut {}", this); _ishut=true; if (_oshut) close(); }
protected void shutdownInput() { if (LOG.isDebugEnabled()) LOG.debug("ishut {}", this); _ishut=true; if (_oshut) close(); }
@Override public void shutdownOutput() { if (LOG.isDebugEnabled()) LOG.debug("oshut {}", this); _oshut = true; if (_channel.isOpen()) { try { if (!_socket.isOutputShutdown()) _socket.shutdownOutput(); } catch (IOException e) { LOG.debug(e); } finally { if (_ishut) { close(); } } } }
@Override public void shutdownOutput() { LOG.debug("oshut {}", this); _oshut = true; if (_channel.isOpen()) { try { if (!_socket.isOutputShutdown()) _socket.shutdownOutput(); } catch (IOException e) { LOG.debug(e); } finally { if (_ishut) { close(); } } } }
@Override public void shutdownOutput() { LOG.debug("oshut {}", this); _oshut = true; if (_channel.isOpen()) { try { if (!_socket.isOutputShutdown()) _socket.shutdownOutput(); } catch (IOException e) { LOG.debug(e); } finally { if (_ishut) { close(); } } } }
@Override public void shutdownOutput() { if (LOG.isDebugEnabled()) LOG.debug("oshut {}", this); _oshut = true; if (_channel.isOpen()) { try { if (!_socket.isOutputShutdown()) _socket.shutdownOutput(); } catch (IOException e) { LOG.debug(e); } finally { if (_ishut) { close(); } } } }