Class ProxySocketFactory
java.lang.Object
javax.net.SocketFactory
com.hierynomus.protocol.commons.socket.ProxySocketFactory
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionProxySocketFactory(int connectTimeout) ProxySocketFactory(String proxyAddress, int proxyPort) ProxySocketFactory(Proxy proxy) ProxySocketFactory(Proxy proxy, int connectTimeout) -
Method Summary
Modifier and TypeMethodDescriptioncreateSocket(String address, int port) createSocket(String address, int port, InetAddress localAddress, int localPort) createSocket(InetAddress address, int port) createSocket(InetAddress address, int port, InetAddress localAddress, int localPort) Methods inherited from class SocketFactory
getDefault
-
Field Details
-
DEFAULT_CONNECT_TIMEOUT
public static final int DEFAULT_CONNECT_TIMEOUT- See Also:
-
-
Constructor Details
-
ProxySocketFactory
public ProxySocketFactory() -
ProxySocketFactory
-
ProxySocketFactory
-
ProxySocketFactory
public ProxySocketFactory(int connectTimeout) -
ProxySocketFactory
-
-
Method Details
-
createSocket
- Overrides:
createSocketin classSocketFactory
-
createSocket
- Specified by:
createSocketin classSocketFactory- Throws:
IOException
-
createSocket
public Socket createSocket(String address, int port, InetAddress localAddress, int localPort) throws IOException - Specified by:
createSocketin classSocketFactory- Throws:
IOException
-
createSocket
- Specified by:
createSocketin classSocketFactory- Throws:
IOException
-
createSocket
public Socket createSocket(InetAddress address, int port, InetAddress localAddress, int localPort) throws IOException - Specified by:
createSocketin classSocketFactory- Throws:
IOException
-