private void shutdownInput() { _ishut=true; if (_oshut) close(); }
private void shutdownInput() { _ishut=true; if (_oshut) close(); }
@Override public void shutdownOutput() { _oshut=true; if (_ishut) close(); }
@Override public void shutdownOutput() { _oshut=true; if (_ishut) close(); }
public void shutdownOutput() throws IOException { close(); }
public void shutdownOutput() throws IOException { close(); }
public void shutdownInput() throws IOException { close(); }
public void shutdownInput() throws IOException { close(); }
@Override public void shutdownOutput() { _oshut=true; if (_ishut) close(); }
private void shutdownInput() { _ishut=true; if (_oshut) close(); }
public void shutdownInput() throws IOException { close(); }
public void shutdownOutput() throws IOException { close(); }
public void shutdownOutput() throws IOException { close(); }
public void shutdownInput() throws IOException { close(); }
public int fill(Buffer buffer) throws IOException { if (_closed) throw new IOException("CLOSED"); if (_in!=null && _in.length()>0) { int len = buffer.put(_in); _in.skip(len); return len; } if (_in!=null && _in.length()==0 && _nonBlocking) return 0; close(); return -1; }
public int fill(Buffer buffer) throws IOException { if (_closed) throw new IOException("CLOSED"); if (_in!=null && _in.length()>0) { int len = buffer.put(_in); _in.skip(len); return len; } if (_in!=null && _in.length()==0 && _nonBlocking) return 0; close(); return -1; }
@Override public void close() { boolean wasOpen=isOpen(); super.close(); if (wasOpen) { // connectionClosed(getConnection()); getConnection().onClose(); onClose(); } }
@Override public void close() { boolean wasOpen=isOpen(); super.close(); if (wasOpen) { getConnection().onClose(); onClose(); } }
@Override public void close() { boolean wasOpen=isOpen(); super.close(); if (wasOpen) { // connectionClosed(getConnection()); getConnection().onClose(); onClose(); } }
@Override public void close() { boolean wasOpen=isOpen(); super.close(); if (wasOpen) { // connectionClosed(getConnection()); getConnection().onClose(); onClose(); } }