Java in a Nutshell

Previous Chapter 28
The java.net Package
Next
 

28.19 java.net.SocketImplFactory (JDK 1.0)

This interface defines a method that creates SocketImpl objects. SocketImplFactory objects may be registered to create SocketImpl objects for the Socket and ServerSocket classes.

Normal applications never need to use or implement this interface.

public abstract interface SocketImplFactory {
    // Public Instance Methods
            public abstract SocketImpl createSocketImpl();
}

Passed To:

ServerSocket.setSocketFactory(), Socket.setSocketImplFactory()


Previous Home Next
java.net.SocketImpl (JDK 1.0) Book Index java.net.UnknownHostException (JDK 1.0)

Java in a Nutshell Java Language Reference Java AWT Java Fundamental Classes Exploring Java