Build 1.0_r1(from source)

javax.net
Class SocketFactory

java.lang.Object
  extended by javax.net.SocketFactory
Direct Known Subclasses:
DefaultSocketFactory, SSLSocketFactory

public abstract class SocketFactory
extends Object


Field Summary
(package private) static SocketFactory defaultFactory
           
 
Constructor Summary
protected SocketFactory()
           
 
Method Summary
 Socket createSocket()
           
abstract  Socket createSocket(InetAddress host, int port)
           
abstract  Socket createSocket(InetAddress address, int port, InetAddress localAddress, int localPort)
           
abstract  Socket createSocket(String host, int port)
           
abstract  Socket createSocket(String host, int port, InetAddress localHost, int localPort)
           
static SocketFactory getDefault()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

defaultFactory

static SocketFactory defaultFactory
Constructor Detail

SocketFactory

protected SocketFactory()
Method Detail

getDefault

public static SocketFactory getDefault()

createSocket

public Socket createSocket()
                    throws IOException
Throws:
IOException

createSocket

public abstract Socket createSocket(String host,
                                    int port)
                             throws IOException,
                                    UnknownHostException
Throws:
IOException
UnknownHostException

createSocket

public abstract Socket createSocket(String host,
                                    int port,
                                    InetAddress localHost,
                                    int localPort)
                             throws IOException,
                                    UnknownHostException
Throws:
IOException
UnknownHostException

createSocket

public abstract Socket createSocket(InetAddress host,
                                    int port)
                             throws IOException
Throws:
IOException

createSocket

public abstract Socket createSocket(InetAddress address,
                                    int port,
                                    InetAddress localAddress,
                                    int localPort)
                             throws IOException
Throws:
IOException

Build 1.0_r1(from source)

Please submit a feedback, bug or feature