SSLEngine sslEngine=sslEndpoint.getSslEngine(); SSLSession sslSession=sslEngine.getSession();
if (!_ishut && _sslEndPoint.isInputShutdown() && _sslEndPoint.isOpen()) try{_sslEndPoint.close();} catch(IOException e2){ _logger.ignore(e2);}
public void shutdownOutput() throws IOException { synchronized (SslConnection.this) { try { _logger.debug("{} ssl endp.oshut {}",_session,this); _oshut=true; _engine.closeOutbound(); } catch (Exception x) { throw new IOException(x); } } flush(); }
if (!_ishut && _sslEndPoint.isInputShutdown() && _sslEndPoint.isOpen()) try{_sslEndPoint.close();} catch(IOException e2){ _logger.ignore(e2);}
SSLEngine sslEngine=sslEndpoint.getSslEngine(); SSLSession sslSession=sslEngine.getSession();
if (!_ishut && _sslEndPoint.isInputShutdown() && _sslEndPoint.isOpen()) try{_sslEndPoint.close();} catch(IOException e2){ _logger.ignore(e2);}
if (!_ishut && _sslEndPoint.isInputShutdown() && _sslEndPoint.isOpen()) try{_sslEndPoint.close();} catch(IOException e2){ _logger.ignore(e2);}
SSLEngine sslEngine=sslEndpoint.getSslEngine(); SSLSession sslSession=sslEngine.getSession();
SSLEngine sslEngine=sslEndpoint.getSslEngine(); SSLSession sslSession=sslEngine.getSession();
SSLEngine sslEngine=sslEndpoint.getSslEngine(); SSLSession sslSession=sslEngine.getSession();
@Override public void onIdleExpired(long idleForMs) { try { _logger.debug("onIdleExpired {}ms on {}",idleForMs,this); if (_endp.isOutputShutdown()) _sslEndPoint.close(); else _sslEndPoint.shutdownOutput(); } catch (IOException e) { _logger.warn(e); super.onIdleExpired(idleForMs); } }
public void shutdownOutput() throws IOException { synchronized (SslConnection.this) { try { _logger.debug("{} ssl endp.oshut {}",_session,this); _oshut=true; _engine.closeOutbound(); } catch (Exception x) { throw new IOException(x); } } flush(); }
public void shutdownOutput() throws IOException { synchronized (SslConnection.this) { try { _logger.debug("{} ssl endp.oshut {}",_session,this); _oshut=true; _engine.closeOutbound(); } catch (Exception x) { throw new IOException(x); } } flush(); }
@Override public void onIdleExpired(long idleForMs) { try { _logger.debug("onIdleExpired {}ms on {}",idleForMs,this); if (_endp.isOutputShutdown()) _sslEndPoint.close(); else _sslEndPoint.shutdownOutput(); } catch (IOException e) { _logger.warn(e); super.onIdleExpired(idleForMs); } }
public void shutdownOutput() throws IOException { synchronized (SslConnection.this) { try { _logger.debug("{} ssl endp.oshut {}",_session,this); _oshut=true; _engine.closeOutbound(); } catch (Exception x) { throw new IOException(x); } } flush(); }
@Override public void onIdleExpired(long idleForMs) { try { _logger.debug("onIdleExpired {}ms on {}",idleForMs,this); if (_endp.isOutputShutdown()) _sslEndPoint.close(); else _sslEndPoint.shutdownOutput(); } catch (IOException e) { _logger.warn(e); super.onIdleExpired(idleForMs); } }
@Override public void onIdleExpired(long idleForMs) { try { _logger.debug("onIdleExpired {}ms on {}",idleForMs,this); if (_endp.isOutputShutdown()) _sslEndPoint.close(); else _sslEndPoint.shutdownOutput(); } catch (IOException e) { _logger.warn(e); super.onIdleExpired(idleForMs); } }
protected SslEndPoint newSslEndPoint() { return new SslEndPoint(); }
public boolean isOutputShutdown() { synchronized (SslConnection.this) { return _oshut||!isOpen()||_engine.isOutboundDone(); } }