FileDocCategorySizeDatePackage
SocketImplProvider.javaAPI DocAndroid 1.5 API2101Wed May 06 22:41:04 BST 2009org.apache.harmony.luni.net

SocketImplProvider

public class SocketImplProvider extends Object

Fields Summary
Constructors Summary
Methods Summary
public static java.net.DatagramSocketImplgetDatagramSocketImpl()

        return new PlainDatagramSocketImpl();
    
public static java.net.DatagramSocketImplgetDatagramSocketImpl(java.io.FileDescriptor fd, int localPort)

        return new PlainDatagramSocketImpl(fd, localPort);
    
public static java.net.DatagramSocketImplgetMulticastSocketImpl()

        return new PlainMulticastSocketImpl();
    
public static java.net.SocketImplgetServerSocketImpl()

        return new PlainServerSocketImpl();
    
public static java.net.SocketImplgetServerSocketImpl(java.io.FileDescriptor fd)

        return new PlainServerSocketImpl(fd);
    
public static java.net.SocketImplgetSocketImpl()

        return new PlainSocketImpl2();
    
public static java.net.SocketImplgetSocketImpl(java.net.Proxy proxy)
gets a SocketImpl with specified proxy.

        return new PlainSocketImpl2(proxy);
    
public static java.net.SocketImplgetSocketImpl(java.io.FileDescriptor fd, int localport, java.net.InetAddress addr, int port)

        return new PlainSocketImpl2(fd, localport, addr, port);