com.sun.faban.driver.transport.sunhttp
Class SocketFactory
java.lang.Object
javax.net.SocketFactory
com.sun.faban.driver.transport.sunhttp.SocketFactory
- Direct Known Subclasses:
- TimedSocketFactory
public abstract class SocketFactory
- extends SocketFactory
This SocketFactory is the javax.net.SocketFactory with one additional
createSocket interface allowing the creation of a socket with the proxy.
- Author:
- Akara Sucharitakul
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SocketFactory
public SocketFactory()
createSocket
public abstract Socket createSocket(Proxy proxy)
- Creates a new socket.
- Parameters:
proxy
- The proxy to use
- Returns:
- The newly created socket