Socks5SocketFactory Class
- java.
lang. Object - javax.
net. SocketFactory - com.
microsoft. azure. sdk. iot. device. transport. mqtt. Socks5SocketFactory
- com.
- javax.
public class Socks5SocketFactory
extends javax.net.SocketFactory
Constructor Summary
| Constructor | Description | |
|---|---|---|
| Socks5SocketFactory(String host, int port) | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| java.net.Socket | createSocket() |
| java.net.Socket | createSocket(InetAddress host, int port) |
| java.net.Socket | createSocket(InetAddress host, int port, InetAddress localHost, int localPort) |
| java.net.Socket | createSocket(String host, int port) |
| java.net.Socket | createSocket(String host, int port, InetAddress localHost, int localPort) |
Methods inherited from java.lang.Object
Methods inherited from javax.net.SocketFactory
Constructor Details
Socks5SocketFactory
public Socks5SocketFactory(String host, int port)
Parameters:
Throws:
Method Details
createSocket
public Socket createSocket()
Overrides:
Socks5SocketFactory.createSocket()createSocket
public Socket createSocket(InetAddress host, int port)
Overrides:
Socks5SocketFactory.createSocket(InetAddress host, int port)Parameters:
Throws:
createSocket
public Socket createSocket(InetAddress host, int port, InetAddress localHost, int localPort)
Overrides:
Socks5SocketFactory.createSocket(InetAddress host, int port, InetAddress localHost, int localPort)Parameters:
Throws:
createSocket
public Socket createSocket(String host, int port)
Overrides:
Socks5SocketFactory.createSocket(String host, int port)Parameters:
Throws:
createSocket
public Socket createSocket(String host, int port, InetAddress localHost, int localPort)
Overrides:
Socks5SocketFactory.createSocket(String host, int port, InetAddress localHost, int localPort)Parameters:
Throws: