summaryrefslogtreecommitdiff
path: root/java/src/IceSSL/Instance.java
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2014-10-20 11:40:05 -0230
committerMatthew Newhook <matthew@zeroc.com>2014-10-20 11:40:05 -0230
commitb51469b41167fb86ae2059a15cf0475c53fdda7b (patch)
treefc85d6ca2efd89c67e1e4e7438f437c3e08313f4 /java/src/IceSSL/Instance.java
parentFixed (ICE-5695) - IceSSL: misleading exception (diff)
downloadice-b51469b41167fb86ae2059a15cf0475c53fdda7b.tar.bz2
ice-b51469b41167fb86ae2059a15cf0475c53fdda7b.tar.xz
ice-b51469b41167fb86ae2059a15cf0475c53fdda7b.zip
Down with ant. From the gradle to the grave.
Diffstat (limited to 'java/src/IceSSL/Instance.java')
-rw-r--r--java/src/IceSSL/Instance.java62
1 files changed, 0 insertions, 62 deletions
diff --git a/java/src/IceSSL/Instance.java b/java/src/IceSSL/Instance.java
deleted file mode 100644
index 9d9930ec250..00000000000
--- a/java/src/IceSSL/Instance.java
+++ /dev/null
@@ -1,62 +0,0 @@
-// **********************************************************************
-//
-// Copyright (c) 2003-2014 ZeroC, Inc. All rights reserved.
-//
-// This copy of Ice is licensed to you under the terms described in the
-// ICE_LICENSE file included in this distribution.
-//
-// **********************************************************************
-
-package IceSSL;
-
-class Instance extends IceInternal.ProtocolInstance
-{
- Instance(SSLEngine engine, short type, String protocol)
- {
- super(engine.communicator(), type, protocol);
- _engine = engine;
- }
-
- SSLEngine engine()
- {
- return _engine;
- }
-
- int securityTraceLevel()
- {
- return _engine.securityTraceLevel();
- }
-
- String securityTraceCategory()
- {
- return _engine.securityTraceCategory();
- }
-
- boolean initialized()
- {
- return _engine.initialized();
- }
-
- javax.net.ssl.SSLEngine createSSLEngine(boolean incoming, java.net.InetSocketAddress peerAddr)
- {
- return _engine.createSSLEngine(incoming, peerAddr);
- }
-
- void traceConnection(java.nio.channels.SocketChannel fd, javax.net.ssl.SSLEngine engine, boolean incoming)
- {
- _engine.traceConnection(fd, engine, incoming);
- }
-
- void verifyPeer(NativeConnectionInfo info, java.nio.channels.SelectableChannel fd, String address)
- {
- _engine.verifyPeer(info, fd, address);
- }
-
- void trustManagerFailure(boolean incoming, java.security.cert.CertificateException ex)
- throws java.security.cert.CertificateException
- {
- _engine.trustManagerFailure(incoming, ex);
- }
-
- private SSLEngine _engine;
-}