summaryrefslogtreecommitdiff
path: root/java/src/IceInternal/NetworkProxy.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/IceInternal/NetworkProxy.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/IceInternal/NetworkProxy.java')
-rw-r--r--java/src/IceInternal/NetworkProxy.java60
1 files changed, 0 insertions, 60 deletions
diff --git a/java/src/IceInternal/NetworkProxy.java b/java/src/IceInternal/NetworkProxy.java
deleted file mode 100644
index 48932f18327..00000000000
--- a/java/src/IceInternal/NetworkProxy.java
+++ /dev/null
@@ -1,60 +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 IceInternal;
-
-public interface NetworkProxy
-{
- //
- // Write the connection request on the connection established
- // with the network proxy server. This is called right after
- // the connection establishment succeeds.
- //
- void beginWrite(java.net.InetSocketAddress endpoint, Buffer buf);
- int endWrite(Buffer buf);
-
- //
- // Once the connection request has been sent, this is called
- // to prepare and read the response from the proxy server.
- //
- void beginRead(Buffer buf);
- int endRead(Buffer buf);
-
- //
- // This is called when the response from the proxy has been
- // read. The proxy should copy the extra read data (if any) in the
- // given byte vector.
- //
- void finish(Buffer readBuffer, Buffer writeBuffer);
-
- //
- // If the proxy host needs to be resolved, this should return
- // a new NetworkProxy containing the IP address of the proxy.
- // This is called from the endpoint host resolver thread, so
- // it's safe if this this method blocks.
- //
- NetworkProxy resolveHost(int protocolSupport);
-
- //
- // Returns the IP address of the network proxy. This method
- // must not block. It's only called on a network proxy object
- // returned by resolveHost().
- //
- java.net.InetSocketAddress getAddress();
-
- //
- // Returns the name of the proxy, used for tracing purposes.
- //
- String getName();
-
- //
- // Returns the protocols supported by the proxy.
- //
- int getProtocolSupport();
-}