@Override public String toString() { ByteBuffer b = _encryptedInput; int ei=b==null?-1:b.remaining(); b = _encryptedOutput; int eo=b==null?-1:b.remaining(); b = _decryptedInput; int di=b==null?-1:b.remaining(); return String.format("SslConnection@%x{%s,eio=%d/%d,di=%d} -> %s", hashCode(), _sslEngine.getHandshakeStatus(), ei,eo,di, _decryptedEndPoint.getConnection()); }
@Override public String toString() { ByteBuffer b = _encryptedInput; int ei=b==null?-1:b.remaining(); b = _encryptedOutput; int eo=b==null?-1:b.remaining(); b = _decryptedInput; int di=b==null?-1:b.remaining(); return String.format("SslConnection@%x{%s,eio=%d/%d,di=%d} -> %s", hashCode(), _sslEngine.getHandshakeStatus(), ei,eo,di, _decryptedEndPoint.getConnection()); }
@Override public boolean onIdleExpired() { return getDecryptedEndPoint().getConnection().onIdleExpired(); }
@Override public void close() { getDecryptedEndPoint().getConnection().close(); }
@Override public void onClose() { _decryptedEndPoint.getConnection().onClose(); super.onClose(); }
@Override public void close() { getDecryptedEndPoint().getConnection().close(); }
@Override public void onClose() { _decryptedEndPoint.getConnection().onClose(); super.onClose(); }
@Override public void onOpen() { super.onOpen(); getDecryptedEndPoint().getConnection().onOpen(); }
@Override public void onClose() { _decryptedEndPoint.getConnection().onClose(); super.onClose(); }
@Override public void close() { getDecryptedEndPoint().getConnection().close(); }
@Override public boolean onIdleExpired() { return getDecryptedEndPoint().getConnection().onIdleExpired(); }
@Override public void onClose() { _decryptedEndPoint.getConnection().onClose(); super.onClose(); }
@Override public void close() { getDecryptedEndPoint().getConnection().close(); }
@Override public void onClose() { _decryptedEndPoint.getConnection().onClose(); super.onClose(); }
@Override public void onOpen() { super.onOpen(); getDecryptedEndPoint().getConnection().onOpen(); }
@Override public void close() { getDecryptedEndPoint().getConnection().close(); }
@Override public void onClose() { _decryptedEndPoint.getConnection().onClose(); super.onClose(); }
@Override public void onOpen() { super.onOpen(); getDecryptedEndPoint().getConnection().onOpen(); }
@Override public boolean onIdleExpired() { return getDecryptedEndPoint().getConnection().onIdleExpired(); }
@Override public void close() { getDecryptedEndPoint().getConnection().close(); }