com.sun.faban.driver.transport.sunhttp
Class SocketFactory

java.lang.Object
  extended by javax.net.SocketFactory
      extended by 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

Constructor Summary
SocketFactory()
           
 
Method Summary
abstract  Socket createSocket(Proxy proxy)
          Creates a new socket.
 
Methods inherited from class javax.net.SocketFactory
createSocket, createSocket, createSocket, createSocket, createSocket, getDefault
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SocketFactory

public SocketFactory()
Method Detail

createSocket

public abstract Socket createSocket(Proxy proxy)
Creates a new socket.

Parameters:
proxy - The proxy to use
Returns:
The newly created socket