DefaultSocketFactorypublic class DefaultSocketFactory extends SocketFactory Default implementation of javax.net.SocketFactory |
Methods Summary |
---|
public java.net.Socket | createSocket()
return new Socket();
| public java.net.Socket | createSocket(java.lang.String host, int port)
return new Socket(host, port);
| public java.net.Socket | createSocket(java.lang.String host, int port, java.net.InetAddress localHost, int localPort)
return new Socket(host, port, localHost, localPort);
| public java.net.Socket | createSocket(java.net.InetAddress host, int port)
return new Socket(host, port);
| public java.net.Socket | createSocket(java.net.InetAddress address, int port, java.net.InetAddress localAddress, int localPort)
return new Socket(address, port, localAddress, localPort);
|
|