com.enterprisedt.net.ftp.ssl
Class SSLProxyServerSocket

java.lang.Object
  extended by com.enterprisedt.util.proxy.ProxyServerSocket
      extended by com.enterprisedt.net.ftp.ssl.SSLProxyServerSocket

public class SSLProxyServerSocket
extends ProxyServerSocket

Supports no proxy or SOCKS proxies. HTTP proxies not supported (as they can't do active mode).

Version:
$Revision: 1.1 $
Author:
Bruce Blackshaw

Field Summary
 
Fields inherited from class com.enterprisedt.util.proxy.ProxyServerSocket
localAddress, proxySettings, receivesize, sendsize, serverSocket, socksSocket, timeout
 
Constructor Summary
SSLProxyServerSocket(com.enterprisedt.net.puretls.SSLContext sslContext, ProxySettings proxySettings)
           
 
Method Summary
 StreamSocket acceptConnection()
          Accept a connection
protected  StreamServerSocket getServerSocket()
           
 
Methods inherited from class com.enterprisedt.util.proxy.ProxyServerSocket
bind, close, getLocalAddress, getLocalPort, getReceiveBufferSize, getSendBufferSize, getSoTimeout, setLocalAddress, setReceiveBufferSize, setSendBufferSize, setSoTimeout
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SSLProxyServerSocket

public SSLProxyServerSocket(com.enterprisedt.net.puretls.SSLContext sslContext,
                            ProxySettings proxySettings)
Method Detail

getServerSocket

protected StreamServerSocket getServerSocket()
                                      throws java.io.IOException
Overrides:
getServerSocket in class ProxyServerSocket
Throws:
java.io.IOException

acceptConnection

public StreamSocket acceptConnection()
                              throws java.io.IOException
Accept a connection

Overrides:
acceptConnection in class ProxyServerSocket
Returns:
Throws:
java.io.IOException


Copyright © 2001-2009 Enterprise Distributed Technologies Ltd. All Rights Reserved.