public class AuthenticatingSocks5Bridge extends Object implements Socks5Bridge
Socks5Bridge.| Constructor and Description |
|---|
AuthenticatingSocks5Bridge(SocksProxyConfig proxyConfig) |
| Modifier and Type | Method and Description |
|---|---|
Socket |
connect(String sessionId,
InetAddress remoteServerAddress,
int remoteServerPort)
|
public AuthenticatingSocks5Bridge(SocksProxyConfig proxyConfig)
public Socket connect(String sessionId, InetAddress remoteServerAddress, int remoteServerPort) throws IOException
connect in interface Socks5BridgesessionId - The current email session context.remoteServerAddress - The target server that is behind the proxy.remoteServerPort - The target server's port that is behind the proxy.IOExceptionCopyright © 2017. All rights reserved.