public static class Socks4Proxy.Socks4ProxyClientConnectionFactory extends Object implements ClientConnectionFactory
ClientConnectionFactory.Helper
Constructor and Description |
---|
Socks4ProxyClientConnectionFactory(ClientConnectionFactory connectionFactory) |
Modifier and Type | Method and Description |
---|---|
Connection |
newConnection(EndPoint endPoint,
Map<String,Object> context) |
public Socks4ProxyClientConnectionFactory(ClientConnectionFactory connectionFactory)
public Connection newConnection(EndPoint endPoint, Map<String,Object> context) throws IOException
newConnection
in interface ClientConnectionFactory
endPoint
- the EndPoint
to link the newly created connection tocontext
- the context data to create the connectionConnection
IOException
- if the connection cannot be createdCopyright © 1995-2015 Webtide. All Rights Reserved.